Coverage config
Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
parent
b211960d2e
commit
c0afe8019b
|
@ -4,7 +4,8 @@
|
|||
"description": "CloudEvents SDK for JavaScript",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "./node_modules/.bin/mocha -C test/*.js"
|
||||
"test": "./node_modules/.bin/mocha -C test/*.js",
|
||||
"coverage": "./node_modules/.bin/istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage && rm -rf ./coverage"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -38,7 +39,10 @@
|
|||
"chai": "4.2.0",
|
||||
"mocha": "5.2.0",
|
||||
"chai-http": "4.2.0",
|
||||
"nock": "10.0.2"
|
||||
"nock": "10.0.2",
|
||||
"codacy-coverage": "3.3.0",
|
||||
"mocha-lcov-reporter": "1.3.0",
|
||||
"istanbul": "0.4.5"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
|
Loading…
Reference in New Issue