Browse Source

Add publishing

Setup publishing for multiple repos and registries.
master
TheoryOfNekomata 4 years ago
parent
commit
8345250e9f
2 changed files with 21 additions and 1 deletions
  1. +1
    -1
      README.md
  2. +20
    -0
      package.json

+ 1
- 1
README.md View File

@@ -8,7 +8,7 @@ This component is currently available in:

* [Modal.sh JavaScript Package Registry](https://js.pack.modal.sh)
* [npm](https://npmjs.com)
* [GitHub Package Registry](https://github.com/Temoto-kun/react-musical-keyboard/packages) for the [Github mirror](https://github.com/Temoto-kun/react-musical-keyboard)
* [GitHub Package Registry](https://npm.pkg.github.com)

Once set up, install the package from the registry:



+ 20
- 0
package.json View File

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


Loading…
Cancel
Save