From 3eda9842c89f69bc35d08480debca73e46013faf Mon Sep 17 00:00:00 2001 From: Niklas Gruhn Date: Sun, 9 Sep 2018 22:44:18 +0200 Subject: [PATCH] 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`. --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index dafa9790..80d61d4a 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,6 @@ "build": "npm run build:browser && npm run build:common", "build:browser": "cross-env NODE_ENV=production webpack --config config/webpack.config.browser.js --progress --hide-modules", "build:common": "cross-env NODE_ENV=production webpack --config config/webpack.config.common.js --progress --hide-modules", - "prepublish": "npm run build", "unit": "cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run", "e2e": "node test/e2e/runner.js", "test": "npm run unit && npm run e2e",