From 9beb6de7d81f0cd3d3242cb155be530f6519a259 Mon Sep 17 00:00:00 2001 From: Tim Perry Date: Fri, 18 Aug 2017 15:56:35 +0200 Subject: [PATCH] Move to prepublishOnly to speed up npm install a little --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 041b9986..c64cdc8d 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,8 @@ "doc": "mkdir -p doc/ && coffee extras/capitanodoc/index.coffee > doc/cli.markdown", "watch": "gulp watch", "lint": "gulp lint", - "prepublish": "npm run build && npm run doc" + "prepublish": "require-npm4-to-publish", + "prepublishOnly": "npm run build && npm run doc" }, "keywords": [ "resin", @@ -33,7 +34,8 @@ "gulp": "^3.9.0", "gulp-coffee": "^2.2.0", "gulp-coffeelint": "^0.6.0", - "gulp-shell": "^0.5.2" + "gulp-shell": "^0.5.2", + "require-npm4-to-publish": "^1.0.0" }, "dependencies": { "@resin.io/valid-email": "^0.1.0",