package.json: use npm-run-all
in scripts
This commit is contained in:
parent
31e7ef2b69
commit
a6320ca0d1
@ -17,9 +17,9 @@
|
|||||||
"build:font-awesome": "node scripts/build-fontawesome.js",
|
"build:font-awesome": "node scripts/build-fontawesome.js",
|
||||||
"build:grunt": "grunt",
|
"build:grunt": "grunt",
|
||||||
"build:handlebars": "handlebars client/views/ -e tpl -f client/js/lounge.templates.js",
|
"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",
|
"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:js": "eslint .",
|
||||||
"lint:css": "stylelint \"**/*.css\"",
|
"lint:css": "stylelint \"**/*.css\"",
|
||||||
"prepublish": "npm run build"
|
"prepublish": "npm run build"
|
||||||
@ -63,6 +63,7 @@
|
|||||||
"grunt-contrib-watch": "1.0.0",
|
"grunt-contrib-watch": "1.0.0",
|
||||||
"handlebars": "4.0.5",
|
"handlebars": "4.0.5",
|
||||||
"mocha": "2.4.5",
|
"mocha": "2.4.5",
|
||||||
|
"npm-run-all": "2.1.1",
|
||||||
"stylelint": "6.2.2"
|
"stylelint": "6.2.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user