Skip to content

Commit eda412c

Browse files
committed
Move nyc config to an object
1 parent 5158ac8 commit eda412c

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

package.json

+11-3
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"node": ">=4"
4444
},
4545
"scripts": {
46-
"test": "xo && nyc --cache --reporter=lcov --reporter=text tap --no-cov --timeout=150 test/*.js test/reporters/*.js",
46+
"test": "xo && nyc tap --no-cov --timeout=150 test/*.js test/reporters/*.js",
4747
"test-win": "tap --no-cov --reporter=classic --timeout=150 test/*.js test/reporters/*.js",
4848
"visual": "node test/visual/run-visual-tests.js",
4949
"prepublish": "npm run make-ts",
@@ -64,9 +64,11 @@
6464
"fast",
6565
"tape",
6666
"tap",
67+
"jest",
6768
"mocha",
6869
"qunit",
6970
"jasmine",
71+
"testing",
7072
"tdd",
7173
"cli-app",
7274
"cli",
@@ -82,8 +84,7 @@
8284
"generators",
8385
"yield",
8486
"observable",
85-
"observables",
86-
"tap"
87+
"observables"
8788
],
8889
"dependencies": {
8990
"arr-flatten": "^1.0.1",
@@ -192,5 +193,12 @@
192193
"import/newline-after-import": "off",
193194
"no-use-extend-native/no-use-extend-native": "off"
194195
}
196+
},
197+
"nyc": {
198+
"cache": true,
199+
"reporter": [
200+
"lcov",
201+
"text"
202+
]
195203
}
196204
}

0 commit comments

Comments
 (0)