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:
2121 - npm run test
2222
2323after_success :
24- - if [ -n "${CODECOV_TOKEN:-}" ]; then npm run codecov; fi
25- - npm run coverage
24+ - npm run codecov
2625 - npm run semantic-release
Original file line number Diff line number Diff line change 7878 "license" : " MIT" ,
7979 "main" : " lib/index.js" ,
8080 "nyc" : {
81- "lines" : 100 ,
82- "statements" : 100 ,
83- "functions" : 100 ,
84- "branches" : 100 ,
8581 "include" : [
8682 " lib/**/*.js"
8783 ],
8884 "reporter" : [
89- " lcov" ,
90- " text"
85+ " json" ,
86+ " text" ,
87+ " html"
9188 ],
9289 "all" : true
9390 },
112109 "scripts" : {
113110 "clean" : " rimraf coverage && rimraf .nyc_output" ,
114111 "cm" : " git-cz" ,
115- "codecov" : " codecov" ,
112+ "codecov" : " codecov -f coverage/coverage-final.json " ,
116113 "commitmsg" : " commitlint -e" ,
117- "coverage" : " nyc check-coverage" ,
118114 "lint" : " eslint lib test" ,
119115 "precommit" : " npm run lint" ,
120116 "prepush" : " ava -v" ,
You can’t perform that action at this time.
0 commit comments