Skip to content

Commit ead4f30

Browse files
committed
feature(writejson) add coveralls
1 parent b0eb988 commit ead4f30

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ node_js:
55

66
script:
77
- npm run codestyle
8-
- npm run coverage
8+
- npm run coverage && npm run report
99

1010
notifications:
1111
email:

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"jshint": "jshint lib test",
1414
"codestyle": "npm-run-all jshint jscs",
1515
"test": "tape test/*.js",
16-
"coverage": "nyc npm test"
16+
"coverage": "nyc npm test",
17+
"report": "nyc report --reporter=text-lcov | coveralls"
1718
},
1819
"repository": {
1920
"type": "git",
@@ -28,6 +29,7 @@
2829
"try-catch": "~1.0.0"
2930
},
3031
"devDependencies": {
32+
"coveralls": "^2.11.6",
3133
"jscs": "^2.7.0",
3234
"jshint": "^2.8.0",
3335
"npm-run-all": "^1.4.0",

0 commit comments

Comments
 (0)