Skip to content

Commit 6e1ade0

Browse files
committed
[dist] Update scripts in package.json
1 parent 734769f commit 6e1ade0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

package.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
},
2626
"main": "./lib/node-http-proxy",
2727
"bin": { "node-http-proxy": "./bin/node-http-proxy" },
28-
"scripts": { "test": "vows test/*-test.js --spec && vows test/*-test.js --spec --https" },
28+
"scripts": {
29+
"test": "npm run-script test-http && npm run-script test-https",
30+
"test-http": "vows --spec && vows --spec --target=secure",
31+
"test-https": "vows --spec --source=secure && vows --spec --source=secure --target=secure"
32+
},
2933
"engines": { "node": "0.4.x || 0.5.x" }
3034
}

0 commit comments

Comments
 (0)