File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,5 +3,5 @@ node_modules/
3
3
tmp /
4
4
* .log
5
5
.idea /
6
- coverage /
6
+ .nyc_output /
7
7
package-lock.json
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 _mocha --print both test/index.js "
9
+ "test-cov" : " nyc npm run test"
10
10
},
11
11
"directories" : {
12
12
"lib" : " ./lib"
38
38
"eslint" : " ^5.16.0" ,
39
39
"eslint-config-hexo" : " ^3.0.0" ,
40
40
"iferr" : " ^1.0.2" ,
41
- "istanbul " : " ^0.4.5 " ,
42
- "mocha " : " ^6.0.2 "
41
+ "mocha " : " ^6.0.2 " ,
42
+ "nyc " : " ^14.1.1 "
43
43
},
44
44
"engines" : {
45
45
"node" : " >=8"
You can’t perform that action at this time.
0 commit comments