Skip to content

Commit

Permalink
report test coverage to coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
ldgit committed Jun 1, 2019
1 parent 253fe0e commit ff35f59
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
32 changes: 32 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"lint": "eslint ./",
"prettier": "prettier \"{*.{js,css,json,md},{src,__{tests,mocks}__}/**/*.{js,css,json,md}}\" --check",
"test:all": "npm run prettier && npm run lint && npm t",
"coverage": "npm t -- --coverage"
"coverage": "npm t -- --coverage --coverageReporters=text-lcov | coveralls"
},
"dependencies": {
"react": "16.8.3",
Expand All @@ -21,6 +21,7 @@
"@babel/runtime": "7.4.5",
"babel-eslint": "^10.0.1",
"babel-jest": "24.8.0",
"coveralls": "^3.0.3",
"eslint": "^5.3.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^4.3.0",
Expand Down

0 comments on commit ff35f59

Please sign in to comment.