Closed aslafy-z closed 5 years ago
As of npm@5, prepublish scripts are deprecated.
prepublish
Use prepare hook instead to keep the current behavior. However I recommend using the prepublishOnly hook to build the project only before publishing, and not after each npm install runs.
prepare
prepublishOnly
npm install
As of npm@5,
prepublish
scripts are deprecated.Use
prepare
hook instead to keep the current behavior. However I recommend using theprepublishOnly
hook to build the project only before publishing, and not after eachnpm install
runs.