File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ node_modules/
3
3
tmp /
4
4
* .log
5
5
.idea /
6
- coverage /
6
+ .nyc_output /
Original file line number Diff line number Diff line change @@ -18,4 +18,4 @@ script:
18
18
19
19
after_script :
20
20
- npm install coveralls
21
- - cat ./coverage/ lcov.info | ./node_modules/ coveralls/bin/coveralls.js
21
+ - nyc report --reporter=text- lcov | coveralls
Original file line number Diff line number Diff line change 6
6
"scripts" : {
7
7
"eslint" : " eslint ." ,
8
8
"test" : " mocha test/index.js" ,
9
- "test-cov" : " istanbul cover --print both _mocha -- test/index.js "
9
+ "test-cov" : " nyc npm run test"
10
10
},
11
11
"directories" : {
12
12
"lib" : " ./lib"
37
37
"eslint" : " ^6.0.1" ,
38
38
"babel-eslint" : " ^10.0.1" ,
39
39
"eslint-config-hexo" : " ^3.0.0" ,
40
- "istanbul " : " ^0.4.5 " ,
41
- "mocha " : " ^6 .1.4 "
40
+ "mocha " : " ^6.1.4 " ,
41
+ "nyc " : " ^14 .1.1 "
42
42
},
43
43
"engines" : {
44
44
"node" : " >=8.6.0"
You can’t perform that action at this time.
0 commit comments