Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace prepublish with prepublishOnly #179

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

n-e
Copy link
Contributor

@n-e n-e commented May 21, 2021

https://docs.npmjs.com/cli/v7/using-npm/scripts#life-cycle-scripts

prepublish is run before npm ci and npm install ( but not before npm publish).

This makes npm ci --production fail, since in this case npm will not install typescript before trying to build the project.

https://docs.npmjs.com/cli/v7/using-npm/scripts#life-cycle-scripts

prepublish is run before `npm ci` and `npm install` ( but not before `npm publish`).

This makes `npm ci --production` fail, since in this case npm will not install typescript before trying to build the project.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant