Skip to content

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.

1 participant