Skip to content

Commit d4eb585

Browse files
committed
use latest nyc for proper require extension.
The latest `nyc` uses `append-transform`, which means multiple require extensions can be installed on top of the one `nyc` installs. Previous versions of nyc only allowed one additional transform before breaking. This allows us to use `require-precompiled` and users can still add `babel/register` (whenever we get those working).
1 parent bd2f8ef commit d4eb585

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@
3737
"node": ">=0.10.0"
3838
},
3939
"scripts": {
40-
"test": "xo && nyc tap --no-cov --timeout=150 test/*.js",
41-
"test-win": "tap --reporter=spec --timeout=150 test/*.js",
42-
"coverage": "tap --coverage-report=lcov"
40+
"test": "xo && nyc --reporter=lcov tap --no-cov --timeout=150 test/*.js",
41+
"test-win": "tap --no-cov --timeout=150 test/*.js"
4342
},
4443
"files": [
4544
"index.js",
@@ -124,6 +123,7 @@
124123
"devDependencies": {
125124
"coveralls": "^2.11.4",
126125
"hook-std": "^0.1.0",
126+
"nyc": "^5.0.1",
127127
"promise-delegates": "^0.1.0",
128128
"signal-exit": "^2.1.2",
129129
"sinon": "^1.17.2",

0 commit comments

Comments
 (0)