Commit 2e6bc11a2094f97bd7ef090a4246b9be4f82e253
use npm-run-all for test scripts
Iain Kirkpatrick authored on 12/6/2015, 10:56:10 PMMichael Williams committed on 12/26/2015, 5:22:31 AM
Parent: 5ab375550cf7474b579151d16179f24150cc6758
Files changed
package.json | changed |
package.json | ||
---|---|---|
@@ -6,11 +6,11 @@ | ||
6 | 6 | "scripts": { |
7 | 7 | "postinstall": "lnfs app node_modules/app", |
8 | 8 | "lint": "snazzy", |
9 | 9 | "format": "snazzy --format", |
10 | - "test": "(npm run spec & npm run feature)", | |
11 | - "spec": "node spec", | |
12 | - "feature": "node feature", | |
10 | + "test": "npm-run-all -p test:*", | |
11 | + "test:spec": "node spec", | |
12 | + "test:feature": "node feature", | |
13 | 13 | "dev:client": "watchify client -o assets/bundle.js -dv", |
14 | 14 | "dev:assets": "cpx \"app/assets/**/*\" assets -w", |
15 | 15 | "dev:server": "node-dev server", |
16 | 16 | "prod:client": "browserify client -o assets/bundle.js -g envify -g uglifyify", |
Built with git-ssb-web