Skip to content

Commit 71e6411

Browse files
authored
Remove use of prepublish in recommended setup
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.
1 parent aecb0da commit 71e6411

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ This looks like:
108108
}
109109
"bundledDependencies":["node-pre-gyp"],
110110
"scripts": {
111-
"prepublish": "npm ls",
112111
"install": "node-pre-gyp install --fallback-to-build"
113112
},
114113
"binary": {

0 commit comments

Comments
 (0)