diff --git a/package.json b/package.json index ef6e642..d10d8a9 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,10 @@ }, "main": "./lib/node-http-proxy", "bin": { "node-http-proxy": "./bin/node-http-proxy" }, - "scripts": { "test": "vows test/*-test.js --spec && vows test/*-test.js --spec --https" }, + "scripts": { + "test": "npm run-script test-http && npm run-script test-https", + "test-http": "vows --spec && vows --spec --target=secure", + "test-https": "vows --spec --source=secure && vows --spec --source=secure --target=secure" + }, "engines": { "node": "0.4.x || 0.5.x" } }