File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1
1
.DS_Store
2
2
* .log
3
+ .nyc_output /
3
4
coverage /
4
5
node_modules /
5
6
unist-util-generated.js
Original file line number Diff line number Diff line change 26
26
"devDependencies" : {
27
27
"browserify" : " ^13.0.0" ,
28
28
"esmangle" : " ^1.0.0" ,
29
- "istanbul " : " ^0.4.0 " ,
29
+ "nyc " : " ^9.0.1 " ,
30
30
"remark-cli" : " ^2.1.0" ,
31
31
"remark-preset-wooorm" : " ^1.0.0" ,
32
32
"tape" : " ^4.5.1" ,
38
38
"build-mangle" : " esmangle unist-util-generated.js > unist-util-generated.min.js" ,
39
39
"build" : " npm run build-md && npm run build-bundle && npm run build-mangle" ,
40
40
"lint" : " xo" ,
41
- "test-api" : " node test.js " ,
42
- "test-coverage" : " istanbul cover test.js" ,
41
+ "test-api" : " node test" ,
42
+ "test-coverage" : " nyc --reporter lcov tape test.js" ,
43
43
"test" : " npm run build && npm run lint && npm run test-coverage"
44
44
},
45
+ "nyc" : {
46
+ "check-coverage" : true ,
47
+ "lines" : 100 ,
48
+ "functions" : 100 ,
49
+ "branches" : 100
50
+ },
45
51
"xo" : {
46
52
"space" : true ,
47
53
"ignores" : [
You can’t perform that action at this time.
0 commit comments