Skip to content

Commit 7fce77b

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 042b3f7 commit 7fce77b

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",
@@ -122,6 +121,7 @@
122121
"devDependencies": {
123122
"coveralls": "^2.11.4",
124123
"hook-std": "^0.1.0",
124+
"nyc": "^5.0.1",
125125
"promise-delegates": "^0.1.0",
126126
"signal-exit": "^2.1.2",
127127
"sinon": "^1.17.2",

0 commit comments

Comments
 (0)