Skip to content

Commit f3b378c

Browse files
author
simonepri
committed
Add coverage script
1 parent 367dad2 commit f3b378c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "Throw Restify errors easily and consistently!",
55
"main": "index.js",
66
"dependencies": {
7-
"restify-errors": "^4.3.0"
7+
"restify-errors": "^4.3.0",
8+
"coverage": "nyc npm test && nyc report --reporter=text-lcov > coverage.lcov && codecov"
89
},
910
"devDependencies": {
1011
"ava": "*",

0 commit comments

Comments
 (0)