Skip to content

Commit e2a9655

Browse files
Create npm script that sends coverage report to Coveralls
https://coveralls.io
1 parent 886e1d9 commit e2a9655

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"scripts": {
88
"test": "mocha",
99
"lint": "eslint index.js \"lib/**\" \"test/**\"",
10-
"cover": "istanbul cover _mocha -- -R spec \"test/**/*\""
10+
"cover": "istanbul cover _mocha -- -R spec \"test/**/*\"",
11+
"coveralls": "cat coverage/lcov.info | coveralls"
1112
},
1213
"repository": {
1314
"type": "git",
@@ -28,6 +29,7 @@
2829
"htmlparser2": "^3.9.1"
2930
},
3031
"devDependencies": {
32+
"coveralls": "^2.11.12",
3133
"eslint": "^3.3.1",
3234
"istanbul": "^0.4.5",
3335
"jsdomify": "^2.1.0",

0 commit comments

Comments
 (0)