Skip to content

Commit

Permalink
Add npm script to generate and open coverage report in default browser
Browse files Browse the repository at this point in the history
  • Loading branch information
DrewML committed Sep 12, 2019
1 parent 1361cc4 commit 2002f23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"build": "tsc",
"test": "npm run format:check && jest -i",
"format": "prettier --write $(head -1 prettier-globs)",
"format:check": "prettier --list-different $(head -1 prettier-globs)"
"format:check": "prettier --list-different $(head -1 prettier-globs)",
"coverage": "jest --coverage && open coverage/lcov-report/index.html"
},
"engines": {
"node": ">=10.12.0"
Expand Down

0 comments on commit 2002f23

Please sign in to comment.