File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -11,4 +11,5 @@ script:
11
11
- npm run test
12
12
after_success :
13
13
- if [ -n "${CODECOV_TOKEN:-}" ]; then npm run codecov; fi
14
+ - npm run coverage
14
15
- npm run semantic-release
Original file line number Diff line number Diff line change 73
73
"license" : " MIT" ,
74
74
"main" : " lib/index.js" ,
75
75
"nyc" : {
76
+ "lines" : 100 ,
77
+ "statements" : 100 ,
78
+ "functions" : 100 ,
79
+ "branches" : 100 ,
76
80
"include" : [
77
81
" lib/**/*.js"
78
- ]
82
+ ],
83
+ "reporter" : [
84
+ " lcov" ,
85
+ " text"
86
+ ],
87
+ "all" : true
79
88
},
80
89
"peerDependencies" : {
81
90
"semantic-release" : " >= 4"
100
109
"cm" : " git-cz" ,
101
110
"codecov" : " codecov" ,
102
111
"commitmsg" : " commitlint -e" ,
112
+ "coverage" : " nyc check-coverage" ,
103
113
"lint" : " eslint lib test package.json" ,
104
114
"postcheckout" : " yarn install || (rimraf && npm install)" ,
105
115
"precommit" : " npm run lint" ,
106
116
"pretest" : " npm run clean && npm run lint" ,
107
117
"semantic-release" : " semantic-release pre && npm publish && semantic-release post" ,
108
- "test" : " nyc --all ava -v && nyc report --reporter=lcov "
118
+ "test" : " nyc ava -v"
109
119
}
110
120
}
You can’t perform that action at this time.
0 commit comments