Przeglądaj źródła

Add publishing

Setup publishing for multiple repos and registries.
master
TheoryOfNekomata 3 lat temu
rodzic
commit
8345250e9f
2 zmienionych plików z 21 dodań i 1 usunięć
  1. +1
    -1
      README.md
  2. +20
    -0
      package.json

+ 1
- 1
README.md Wyświetl plik

@@ -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 Wyświetl plik

@@ -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"
},


Ładowanie…
Anuluj
Zapisz