File tree 3 files changed +11
-5
lines changed
3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
+ sudo : false
2
3
node_js :
3
4
- " 8"
4
5
- " 10"
6
+ script :
7
+ - yarn test:coverage
8
+ - yarn report-coverage
5
9
after_success :
10
+ - bash <(curl -s https://codecov.io/bash)
6
11
- yarn run semantic-release
Original file line number Diff line number Diff line change 4
4
5
5
[ ![ view on npm] ( http://img.shields.io/npm/v/express-version-route.svg )] ( https://www.npmjs.org/package/express-version-route )
6
6
[ ![ view on npm] ( http://img.shields.io/npm/l/express-version-route.svg )] ( https://www.npmjs.org/package/express-version-route )
7
+ [ ![ Codecov] ( https://img.shields.io/codecov/c/gh/lirantal/express-version-route.svg )] ( https://codecov.io/gh/lirantal/express-version-route )
7
8
[ ![ npm module downloads] ( http://img.shields.io/npm/dt/express-version-route.svg )] ( https://www.npmjs.org/package/express-version-route )
8
- [ ![ Dependency Status] ( https://david-dm.org/lirantal/express-version-route.svg )] ( https://david-dm.org/lirantal/express-version-route )
9
9
[ ![ Known Vulnerabilities] ( https://snyk.io/test/github/lirantal/express-version-route/badge.svg )] ( https://snyk.io/test/github/lirantal/express-version-route )
10
10
[ ![ Security Responsible Disclosure] ( https://img.shields.io/badge/Security-Responsible%20Disclosure-yellow.svg )] (https://github.com/nodejs/security-wg/blob/master/processes/responsible_disclosure_template.md
11
11
)
Original file line number Diff line number Diff line change 10
10
"test:watch" : " yarn run lint && ava --watch" ,
11
11
"test:coverage" : " yarn run lint && nyc --reporter=lcov ava --tap" ,
12
12
"coverage:view" : " opn coverage/lcov-report/index.html" ,
13
+ "report-coverage" : " nyc report --reporter=text-lcov > coverage.lcov" ,
13
14
"commit" : " git-cz" ,
14
15
"docs" : " yarn run docs:code && yarn run docs:api" ,
15
16
"docs:api" : " doxdox *.js --layout bootstrap --output docs/index.html" ,
38
39
"standard" : " ^12.0.0"
39
40
},
40
41
"nyc" : {
41
- "statements" : 90 ,
42
- "branches" : 90 ,
43
- "functions" : 90 ,
44
- "lines" : 90 ,
42
+ "statements" : 88 ,
43
+ "branches" : 88 ,
44
+ "functions" : 88 ,
45
+ "lines" : 88 ,
45
46
"reporter" : [
46
47
" lcov" ,
47
48
" text-summary"
You can’t perform that action at this time.
0 commit comments