From cd1a2fc70ad23617d80f6030046fce15a43f3db5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Kowalski?= Date: Sat, 16 May 2020 11:34:12 +0200 Subject: [PATCH] Abort if previous task fail --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 25d287e..fa43873 100755 --- a/package.json +++ b/package.json @@ -97,12 +97,12 @@ "format": "eslint . --fix --ignore-pattern '/app/dist/'", "postinstall": "link-module-alias", "preinstall": "command -v link-module-alias;link-module-alias clean || true", - "start": "npm i;npm run css;NODE_ENV=production node index.js", + "start": "npm i && npm run css && NODE_ENV=production node index.js", "test": "run-s test:*", "test:dependencies": "updates --update ./ --exclude prismjs", "test:lint": "standardx --verbose | snazzy", "test:sass": "sass-lint --config ./node_modules/@inc/sasslint-config/config.json --verbose --no-exit", - "watch": "npm run css;run-p watch:*", + "watch": "npm run css && run-p watch:*", "watch:sass": "sass --load-path=node_modules --watch app/sass:app/dist --style compressed", "watch:server": "NODE_ENV=development nodemon --ignore 'app/dist'" },