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

prepublish scripts deprecated for recent versions of NPM #33

Closed
howarddierking opened this issue Mar 7, 2018 · 1 comment
Closed

prepublish scripts deprecated for recent versions of NPM #33

howarddierking opened this issue Mar 7, 2018 · 1 comment
Labels
maintenance Keeping runtimes or dependencies current
Milestone

Comments

@howarddierking
Copy link

Update to node 8.x.x and run npm install. You'll get the following..

npm WARN prepublish-on-install As of npm@5, `prepublish` scripts are deprecated.
npm WARN prepublish-on-install Use `prepare` for build steps and `prepublishOnly` for upload-only.
npm WARN prepublish-on-install See the deprecation note in `npm help scripts` for more information.
@gdereese gdereese added this to the 0.5.1 milestone Mar 8, 2018
@gdereese
Copy link
Owner

gdereese commented Mar 8, 2018

The prepublish script being used here is intended for the publish process, so I'll reassign the script to prepublishOnly.

@gdereese gdereese added the maintenance Keeping runtimes or dependencies current label Mar 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Keeping runtimes or dependencies current
Projects
None yet
Development

No branches or pull requests

2 participants