Skip to content

Commit 3eda984

Browse files
committed
build: don't build twice on deploy
On deploy the build step is executed twice. As configured in `travis.yml` and in the `prepublish` hook in `package.json`.
1 parent bc87ba8 commit 3eda984

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"build": "npm run build:browser && npm run build:common",
2424
"build:browser": "cross-env NODE_ENV=production webpack --config config/webpack.config.browser.js --progress --hide-modules",
2525
"build:common": "cross-env NODE_ENV=production webpack --config config/webpack.config.common.js --progress --hide-modules",
26-
"prepublish": "npm run build",
2726
"unit": "cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run",
2827
"e2e": "node test/e2e/runner.js",
2928
"test": "npm run unit && npm run e2e",

0 commit comments

Comments
 (0)