default to only running 'tap' tests

move other non-standalone tests to test-legacy, and run them all
on 'test-all'
This commit is contained in:
isaacs
2014-04-12 20:10:53 -07:00
parent 03f04761dc
commit fa0fa8cc9a

View File

@@ -147,11 +147,12 @@
"npm": "1"
},
"scripts": {
"test": "node ./test/run.js && tap test/tap/*.js",
"test-legacy": "node ./test/run.js",
"test": "tap --timeout 120 test/tap/*.js",
"tap": "tap --timeout 120 test/tap/*.js",
"test-all": "node ./test/run.js && tap test/tap/*.js",
"prepublish": "node bin/npm-cli.js prune --prefix=. --no-global && rm -rf test/*/*/node_modules && make -j32 doc",
"dumpconf": "env | grep npm | sort | uniq",
"echo": "node bin/npm-cli.js"
"dumpconf": "env | grep npm | sort | uniq"
},
"license": "Artistic-2.0"
}