Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2020-02-20 04:30:19 +0300
committerisaacs <i@izs.me>2020-05-08 04:11:52 +0300
commit575151c74b26e50ed4830da818686b2a7139f3fc (patch)
tree00a36f6b2811e642e3fb5e53634a42bfc1bcee93 /package.json
parent1618e82f94e5dab8b0f6617ee5c77adeb2c743c8 (diff)
fix: add scriptShell to flatOptions
Diffstat (limited to 'package.json')
-rw-r--r--package.json13
1 files changed, 9 insertions, 4 deletions
diff --git a/package.json b/package.json
index 693c097ac..aad7398c3 100644
--- a/package.json
+++ b/package.json
@@ -295,19 +295,24 @@
"prepare": "node bin/npm-cli.js rebuild && node bin/npm-cli.js --no-audit --no-timing prune --prefix=. --no-global && rimraf test/*/*/node_modules && make -j4 mandocs",
"preversion": "bash scripts/update-authors.sh && git add AUTHORS && git commit -m \"update AUTHORS\" || true",
"licenses": "licensee --production --errors-only",
- "tap": "tap -J --timeout 300 --no-esm",
+ "tap": "tap",
"tap-cover": "tap -J --nyc-arg=--cache --coverage --timeout 600 --no-esm",
- "lint": "standard",
- "pretest": "npm run lint",
"test": "npm run test-tap --",
+ "snap": "tap",
"test:nocleanup": "NO_TEST_CLEANUP=1 npm run test --",
"sudotest": "sudo npm run tap -- \"test/tap/*.js\"",
"sudotest:nocleanup": "sudo NO_TEST_CLEANUP=1 npm run tap -- \"test/tap/*.js\"",
- "posttest": "rimraf test/npm_cache*",
+ "posttest": "npm run lint",
+ "lint": "standard",
+ "prelint": "rimraf test/npm_cache*",
"test-coverage": "npm run tap-cover -- \"test/tap/*.js\" \"test/network/*.js\"",
"test-tap": "npm run tap -- \"test/tap/*.js\" \"test/network/*.js\"",
"test-node": "tap --timeout 240 \"test/tap/*.js\" \"test/network/*.js\""
},
+ "tap": {
+ "esm": false,
+ "timeout": 600
+ },
"license": "Artistic-2.0",
"engines": {
"node": ">=10"