File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,5 @@ script:
21
21
- npm run test
22
22
23
23
after_success :
24
- - if [ -n "${CODECOV_TOKEN:-}" ]; then npm run codecov; fi
25
- - npm run coverage
24
+ - npm run codecov
26
25
- npm run semantic-release
Original file line number Diff line number Diff line change 78
78
"license" : " MIT" ,
79
79
"main" : " lib/index.js" ,
80
80
"nyc" : {
81
- "lines" : 100 ,
82
- "statements" : 100 ,
83
- "functions" : 100 ,
84
- "branches" : 100 ,
85
81
"include" : [
86
82
" lib/**/*.js"
87
83
],
88
84
"reporter" : [
89
- " lcov" ,
90
- " text"
85
+ " json" ,
86
+ " text" ,
87
+ " html"
91
88
],
92
89
"all" : true
93
90
},
112
109
"scripts" : {
113
110
"clean" : " rimraf coverage && rimraf .nyc_output" ,
114
111
"cm" : " git-cz" ,
115
- "codecov" : " codecov" ,
112
+ "codecov" : " codecov -f coverage/coverage-final.json " ,
116
113
"commitmsg" : " commitlint -e" ,
117
- "coverage" : " nyc check-coverage" ,
118
114
"lint" : " eslint lib test" ,
119
115
"precommit" : " npm run lint" ,
120
116
"prepush" : " ava -v" ,
You can’t perform that action at this time.
0 commit comments