I would like to be able to install the library via Git instead of the npm registry. Currently this is not working since babel is only run before publishing.
Suggested implementation:
Change prepublishOnly script in package.json to prepare.
This should be fully compatible with the existing solution since it just adds the execution of the script on npm install (without arguments) and on git dependency installation. It will still be executed before publishing.
Describe the feature you'd like:
I would like to be able to install the library via Git instead of the npm registry. Currently this is not working since babel is only run before publishing.
Suggested implementation:
Change
prepublishOnly
script in package.json toprepare
.Describe alternatives you've considered:
None
Teachability, Documentation, Adoption, Migration Strategy:
This should be fully compatible with the existing solution since it just adds the execution of the script on
npm install
(without arguments) and on git dependency installation. It will still be executed before publishing.