File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1
1
.DS_Store
2
2
* .log
3
+ .nyc_output /
4
+ coverage /
3
5
node_modules /
4
6
yarn.lock
Original file line number Diff line number Diff line change
1
+ coverage /
Original file line number Diff line number Diff line change 30
30
"unist-util-remove" : " ^1.0.0"
31
31
},
32
32
"devDependencies" : {
33
+ "nyc" : " ^12.0.2" ,
33
34
"prettier" : " ^1.14.2" ,
34
35
"tape" : " ^4.0.0" ,
35
36
"unist-builder" : " ^1.0.0" ,
36
37
"xo" : " ^0.22.0"
37
38
},
38
39
"scripts" : {
39
40
"format" : " prettier --write \" **/*.js\" && xo --fix" ,
40
- "test" : " node test"
41
+ "test-api" : " node test" ,
42
+ "test-coverage" : " nyc --reporter lcov tape test.js" ,
43
+ "test" : " npm run format && npm run test-coverage"
44
+ },
45
+ "nyc" : {
46
+ "check-coverage" : true ,
47
+ "lines" : 100 ,
48
+ "functions" : 100 ,
49
+ "branches" : 100
41
50
},
42
51
"prettier" : {
43
52
"tabWidth" : 2 ,
You can’t perform that action at this time.
0 commit comments