File tree Expand file tree Collapse file tree 4 files changed +14
-1
lines changed Expand file tree Collapse file tree 4 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 11.DS_Store
22* .log
3+ .nyc_output /
4+ coverage /
35node_modules /
46yarn.lock
Original file line number Diff line number Diff line change 1+ coverage /
Original file line number Diff line number Diff line change @@ -2,3 +2,4 @@ language: node_js
22node_js :
33- lts/boron
44- node
5+ after_script : bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change 3535 "unist-util-visit" : " ^1.4.0"
3636 },
3737 "devDependencies" : {
38+ "nyc" : " ^12.0.2" ,
3839 "prettier" : " ^1.14.2" ,
3940 "tape" : " ^4.4.0" ,
4041 "unist-builder" : " ^1.0.1" ,
4344 },
4445 "scripts" : {
4546 "format" : " prettier --write \" **/*.js\" && xo --fix" ,
46- "test" : " node test"
47+ "test-api" : " node test" ,
48+ "test-coverage" : " nyc --reporter lcov tape test.js" ,
49+ "test" : " npm run format && npm run test-coverage"
50+ },
51+ "nyc" : {
52+ "check-coverage" : true ,
53+ "lines" : 100 ,
54+ "functions" : 100 ,
55+ "branches" : 100
4756 },
4857 "prettier" : {
4958 "tabWidth" : 2 ,
You can’t perform that action at this time.
0 commit comments