File tree Expand file tree Collapse file tree 4 files changed +22
-17
lines changed Expand file tree Collapse file tree 4 files changed +22
-17
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ sudo : false
2
+ language : node_js
3
+ node_js :
4
+ - ' 8'
5
+ branches :
6
+ only :
7
+ - master
8
+ cache :
9
+ directories :
10
+ - node_modules
11
+ before_install :
12
+ - yarn update
13
+ install :
14
+ - yarn install
15
+ script :
16
+ - yarn test
17
+ - yarn coveralls
Original file line number Diff line number Diff line change 1
1
# JS HTTP Status
2
2
3
- [ ![ License] [ license-badge ]] [ license-url ]
3
+ [ ![ License] [ license-badge ]] [ license-url ] [ ![ Coverage Status ] [ coverage-badge ]] [ coverage-url ]
4
4
5
5
> A simple way to catch HTTP statuses with JavaScript.
6
6
@@ -34,3 +34,5 @@ Report bugs or do suggestions using the [issues](https://github.com/codevor/js-h
34
34
35
35
[ license-badge ] : https://img.shields.io/github/license/codevor/js-http-status.svg
36
36
[ license-url ] : https://opensource.org/licenses/MIT
37
+ [ coverage-badge ] : https://coveralls.io/repos/github/codevor/js-http-status/badge.svg?branch=master
38
+ [ coverage-url ] : https://coveralls.io/github/codevor/js-http-status?branch=master
Original file line number Diff line number Diff line change 8
8
"dev" : " NODE_ENV=dev webpack --progress --colors --watch" ,
9
9
"build" : " NODE_ENV=production webpack" ,
10
10
"lint" : " eslint src tests" ,
11
- "test" : " jest --coverage --expand -i " ,
11
+ "test" : " jest --coverage --expand" ,
12
12
"test:watch" : " jest --watch" ,
13
13
"prepublish" : " yarn lint && yarn test && yarn clean && yarn build" ,
14
- "coveralls" : " cat ./coverage/lcov.info | ./node_modules/ coveralls/bin/coveralls.js && rm -rf ./coverage"
14
+ "coveralls" : " cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"
15
15
},
16
16
"repository" : {
17
17
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments