From a6320ca0d1c109bbb3c7d93b01a8dcd3726c3c5a Mon Sep 17 00:00:00 2001 From: William Boman Date: Wed, 1 Jun 2016 13:29:58 +0200 Subject: [PATCH] package.json: use `npm-run-all` in scripts --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index fff69c96..68ab10fd 100644 --- a/package.json +++ b/package.json @@ -17,9 +17,9 @@ "build:font-awesome": "node scripts/build-fontawesome.js", "build:grunt": "grunt", "build:handlebars": "handlebars client/views/ -e tpl -f client/js/lounge.templates.js", - "test": "(npm run test:mocha || true) && npm run lint", + "test": "npm-run-all -c test:mocha lint", "test:mocha": "mocha -r test/fixtures/env.js test/**/*.js", - "lint": "(npm run lint:js || true) && (npm run lint:css || true)", + "lint": "npm-run-all -c lint:js lint:css", "lint:js": "eslint .", "lint:css": "stylelint \"**/*.css\"", "prepublish": "npm run build" @@ -63,6 +63,7 @@ "grunt-contrib-watch": "1.0.0", "handlebars": "4.0.5", "mocha": "2.4.5", + "npm-run-all": "2.1.1", "stylelint": "6.2.2" } }