The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
The documentation on npm scripts has a contradiction
The scripts doc says:
- prepare: Run both BEFORE the package is packed and published, and on local
npm installwithout any arguments (See below). This is run AFTER
prepublish, but BEFORE
- prepublishOnly: Run BEFORE the package is prepared and packed, ONLY on
npm publish. (See below.)
prepare run "BEFORE
prepublishOnly runs “BEFORE the package is prepared”?
Moved to #support:docs-needed, where we tend to put stuff when the docs need some kind of update. Thanks for pointing this out!