Merge pull request #635 from resin-io/prepublishOnly

Move to prepublishOnly to speed up npm install a little
This commit is contained in:
Tim Perry 2017-08-18 17:37:46 +02:00 committed by GitHub
commit 2ad789457f

View File

@ -17,7 +17,8 @@
"doc": "mkdir -p doc/ && coffee extras/capitanodoc/index.coffee > doc/cli.markdown", "doc": "mkdir -p doc/ && coffee extras/capitanodoc/index.coffee > doc/cli.markdown",
"watch": "gulp watch", "watch": "gulp watch",
"lint": "gulp lint", "lint": "gulp lint",
"prepublish": "npm run build && npm run doc" "prepublish": "require-npm4-to-publish",
"prepublishOnly": "npm run build && npm run doc"
}, },
"keywords": [ "keywords": [
"resin", "resin",
@ -33,7 +34,8 @@
"gulp": "^3.9.0", "gulp": "^3.9.0",
"gulp-coffee": "^2.2.0", "gulp-coffee": "^2.2.0",
"gulp-coffeelint": "^0.6.0", "gulp-coffeelint": "^0.6.0",
"gulp-shell": "^0.5.2" "gulp-shell": "^0.5.2",
"require-npm4-to-publish": "^1.0.0"
}, },
"dependencies": { "dependencies": {
"@resin.io/valid-email": "^0.1.0", "@resin.io/valid-email": "^0.1.0",