skip prepublish script for install

This commit is contained in:
Shawn Erquhart 2017-05-17 12:30:08 -04:00
parent 6996045cbf
commit 0920e95eba

View File

@ -9,7 +9,7 @@
"test:watch": "jest --watch",
"build": "NODE_ENV=production webpack --config webpack.prod.js",
"build:scripts": "NODE_ENV=production webpack --config webpack.cli.js",
"prepublish": "npm run build",
"prepublish": "in-publish && npm run build || not-in-publish",
"storybook": "start-storybook -p 9001",
"storybook-build": "build-storybook -o dist",
"lint": "npm run lint:js & npm run lint:css",
@ -68,6 +68,7 @@
"file-loader": "^0.8.5",
"identity-obj-proxy": "^3.0.0",
"imports-loader": "^0.6.5",
"in-publish": "^2.0.0",
"jest": "19.1.0-alpha.eed82034",
"jest-cli": "19.1.0-alpha.eed82034",
"lint-staged": "^3.1.0",