Skip to content

Commit e62a351

Browse files
committedFeb 3, 2016
Added npm-run-all to run watchify and http-server in parallel
1 parent 7cb4962 commit e62a351

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed
 

‎package.json

+15-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,16 @@
33
"version": "2.0.0",
44
"description": "Extend Chai Assertion library with tests for http apis",
55
"author": "Jake Luer <jake@alogicalparadox.com>",
6-
"keywords": ["chai", "chai-plugin", "browser", "http", "request", "vendor", "supertest", "superagent"],
6+
"keywords": [
7+
"chai",
8+
"chai-plugin",
9+
"browser",
10+
"http",
11+
"request",
12+
"vendor",
13+
"supertest",
14+
"superagent"
15+
],
716
"contributors": [
817
"Jake Luer <jake@alogicalparadox.com>",
918
"Veselin Todorov <hi@vesln.com>",
@@ -24,7 +33,9 @@
2433
"prebuild:js": "rm -rf dist",
2534
"build:js": "simplifyify lib/http.js --outfile dist/chai-http.js --bundle --minify --debug --standalone chaiHttp",
2635
"build:readme": "rm -rf README.md && node ./support/readme",
27-
"start": "npm run build -- --watch & http-server -o -c-1",
36+
"start": "npm-run-all --parallel watch server",
37+
"watch": "npm run build:js -- --watch",
38+
"server": "http-server -o -c-1",
2839
"test": "istanbul cover --report lcovonly _mocha",
2940
"posttest": "if [ -z \"$COVERALLS_REPO_TOKEN\" ]; then cat coverage/lcov.info | coveralls; fi"
3041
},
@@ -49,7 +60,8 @@
4960
"es6-shim": "*",
5061
"http-server": "*",
5162
"istanbul": "^0.4.2",
52-
"mocha": "*"
63+
"mocha": "*",
64+
"npm-run-all": "^1.5.1"
5365
},
5466
"engines": {
5567
"node": ">= 0.6.0"

0 commit comments

Comments
 (0)
Please sign in to comment.