Skip to content

Commit

Permalink
Set up scripts for code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
giotiskl committed Feb 11, 2018
1 parent 19bac8c commit a49e4ee
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
**/node_modules
**/coverage
.DS_STORE
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
demo/
tests/
coverage/
.babelrc
.eslintignore
.eslintrc.yml
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
"build-without-jquery": "webpack -p --progress --env.env=production",
"analyze": "webpack -p --progress --env.env=analyze",
"test": "jest",
"coverage": "jest --coverage",
"showcoverage": "xdg-open ./coverage/lcov-report/index.html",
"lint": "./node_modules/.bin/eslint ."
},
"jest": {
Expand Down

0 comments on commit a49e4ee

Please sign in to comment.