Merge pull request #478 from SISheogorath/feature/errorExitOnFail

Use non-zero exit codes when build fails
This commit is contained in:
Max Wu 2017-06-04 19:06:09 +08:00 committed by GitHub
commit 9b16703819

View file

@ -8,7 +8,7 @@
"test": "npm run-script standard", "test": "npm run-script standard",
"standard": "node ./node_modules/standard/bin/cmd.js", "standard": "node ./node_modules/standard/bin/cmd.js",
"dev": "webpack --config webpack.config.js --progress --colors --watch", "dev": "webpack --config webpack.config.js --progress --colors --watch",
"build": "webpack --config webpack.production.js --progress --colors", "build": "webpack --config webpack.production.js --progress --colors --bail",
"postinstall": "bin/heroku", "postinstall": "bin/heroku",
"start": "node app.js" "start": "node app.js"
}, },