From 6b3f1037bec4b11e7e36d25c03f0e5e579a66b38 Mon Sep 17 00:00:00 2001 From: SleepWalker Date: Tue, 1 Aug 2017 20:27:35 +0300 Subject: [PATCH] Fix build command to exit with code 1 on build fail --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 32549f1..e3d5fad 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,8 @@ "i18n:publish": "babel-node --presets es2015,stage-0 ./scripts/i18n-onesky.js publish", "i18n:pull": "babel-node --presets es2015,stage-0 ./scripts/i18n-onesky.js pull", "build": "npm run clean && npm run build:webpack -- --progress", - "build:webpack": "webpack --colors -p", - "build:quite": "npm run clean && npm run build:webpack -- --quite", + "build:webpack": "webpack --colors -p --bail", + "build:quiet": "npm run clean && npm run build:webpack -- --quiet", "build:dll": "node ./scripts/build-dll.js" }, "dependencies": {