File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 2
2
node_modules
3
3
tmp
4
4
* .log *
5
+ coverage
6
+ .nyc_output
Original file line number Diff line number Diff line change 35
35
"xtend" : " ^4.0.1"
36
36
},
37
37
"devDependencies" : {
38
+ "hastscript" : " ^3.0.1" ,
38
39
"is-hidden" : " ^1.1.0" ,
39
40
"mdast-util-assert" : " ^1.0.0" ,
40
41
"negate" : " ^1.0.0" ,
42
+ "nyc" : " ^10.1.2" ,
41
43
"rehype-parse" : " ^2.0.1" ,
42
44
"remark-parse" : " ^2.2.0" ,
43
45
"remark-stringify" : " ^2.3.0" ,
44
46
"tape" : " ^4.6.3" ,
45
47
"unified" : " ^5.1.0" ,
48
+ "unist-builder" : " ^1.0.2" ,
46
49
"unist-util-remove-position" : " ^1.1.0" ,
47
50
"xo" : " ^0.17.1"
48
51
},
49
52
"scripts" : {
50
53
"lint" : " xo" ,
51
54
"test-api" : " node tests" ,
52
- "test" : " npm run lint && npm run test-api"
55
+ "test-coverage" : " nyc --reporter lcov tape tests/index.js" ,
56
+ "test" : " npm run lint && npm run test-coverage"
57
+ },
58
+ "nyc" : {
59
+ "check-coverage" : true ,
60
+ "lines" : 100 ,
61
+ "functions" : 100 ,
62
+ "branches" : 100
53
63
},
54
64
"xo" : {
55
65
"space" : true
You can’t perform that action at this time.
0 commit comments