mirror of
https://github.com/zhigang1992/npm.git
synced 2026-01-12 17:32:45 +08:00
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:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user