From 71e64118401e3b89e9010245a681972c648e7c6c Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Tue, 16 May 2017 13:35:36 -0700 Subject: [PATCH] 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 https://github.com/npm/npm/issues/10074. So, let's avoid the confusion and potential gochas of different npm versions by not recommending this hook. --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 3388c922..832acc7d 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,6 @@ This looks like: } "bundledDependencies":["node-pre-gyp"], "scripts": { - "prepublish": "npm ls", "install": "node-pre-gyp install --fallback-to-build" }, "binary": {