Browse Source

Add publishing

Set up publishing for multiple branches with different repos and registries.
master
TheoryOfNekomata 4 years ago
parent
commit
f94e196f62
1 changed files with 8 additions and 5 deletions
  1. +8
    -5
      package.json

+ 8
- 5
package.json View File

@@ -8,26 +8,29 @@
"dist", "dist",
"src" "src"
], ],
"publishing": [
{
"publishing": {
"master": {
"branch": "master",
"repository": "https://code.modal.sh/TheoryOfNekomata/react-musical-keyboard.git", "repository": "https://code.modal.sh/TheoryOfNekomata/react-musical-keyboard.git",
"publishConfig": { "publishConfig": {
"registry": "https://js.pack.modal.sh" "registry": "https://js.pack.modal.sh"
} }
}, },
{
"github": {
"branch": "github",
"repository": "https://github.com/Temoto-kun/react-musical-keyboard", "repository": "https://github.com/Temoto-kun/react-musical-keyboard",
"publishConfig": { "publishConfig": {
"registry": "https://npm.pkg.github.com" "registry": "https://npm.pkg.github.com"
} }
}, },
{
"npm": {
"branch": "npm",
"repository": "https://code.modal.sh/TheoryOfNekomata/react-musical-keyboard.git", "repository": "https://code.modal.sh/TheoryOfNekomata/react-musical-keyboard.git",
"publishConfig": { "publishConfig": {
"registry": "https://registry.npmjs.com" "registry": "https://registry.npmjs.com"
} }
} }
],
},
"engines": { "engines": {
"node": ">=10" "node": ">=10"
}, },


Loading…
Cancel
Save