File tree Expand file tree Collapse file tree 4 files changed +763
-206
lines changed
Expand file tree Collapse file tree 4 files changed +763
-206
lines changed Original file line number Diff line number Diff line change 1515 - ./node_modules
1616 - run : npm run coverage
1717 - run : npm run check-coverage
18+ - run : npm run report
1819
1920 build-latest : &latest-build
2021 docker :
Original file line number Diff line number Diff line change @@ -20,8 +20,9 @@ node_modules/
2020npm-debug.log
2121yarn-error.log
2222
23- # Istanbul
23+ # NYC
2424coverage /
25+ .nyc_output /
2526
2627# Bower
2728bower_components /
Original file line number Diff line number Diff line change 3838 "scripts" : {
3939 "lint" : " eslint ." ,
4040 "style" : " yarn run lint" ,
41- "coverage" : " istanbul cover _mocha -- -u exports -R spec ./test/**/*" ,
42- "check-coverage" : " istanbul check-coverage --statements 40 --functions 40 --branches 0 --lines 40 ./coverage/coverage.json" ,
4341 "test" : " yarn run coverage" ,
42+ "coverage" : " nyc mocha" ,
43+ "coverage-html" : " nyc report --reporter=html && open ./coverage/index.html" ,
44+ "check-coverage" : " nyc check-coverage --statements 40 --functions 40 --branches 0 --lines 40" ,
45+ "report" : " nyc report" ,
4446 "codacy" : " cat ./coverage/lcov.info | codacy-coverage" ,
4547 "preversion" : " yarn run test" ,
4648 "postversion" : " git push && git push --tags"
6264 "eslint" : " ^4.19.1" ,
6365 "eslint-plugin-promise" : " ^3.8.0" ,
6466 "eslint-plugin-standard" : " ^3.1.0" ,
65- "istanbul " : " ^0.4.5 " ,
67+ "nyc " : " ^13.2.0 " ,
6668 "mocha" : " ^5.2.0" ,
6769 "sinon" : " ^7.2.3"
6870 },
You can’t perform that action at this time.
0 commit comments