Skip to content

Commit

Permalink
Remove use of prepublish in recommended setup
Browse files Browse the repository at this point in the history
The recommendation of `prepublish` here was to help ensure the bundled deps tree is correct. But `prepublish` also runs during install per npm/npm#10074. So, let's avoid the confusion and potential gochas of different npm versions by not recommending this hook.
  • Loading branch information
springmeyer authored May 16, 2017
1 parent aecb0da commit 71e6411
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ This looks like:
}
"bundledDependencies":["node-pre-gyp"],
"scripts": {
"prepublish": "npm ls",
"install": "node-pre-gyp install --fallback-to-build"
},
"binary": {
Expand Down

0 comments on commit 71e6411

Please sign in to comment.