Skip to content

Commit

Permalink
nyc追加
Browse files Browse the repository at this point in the history
  • Loading branch information
Shota Matsushita committed Nov 23, 2016
1 parent 6e35133 commit 685a50e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
dist
coverage
.nyc_output
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"hot-server": "cross-env NODE_ENV=development node -r babel-register server.js",
"start-hot": "cross-env HOT=1 NODE_ENV=development electron -r babel-register -r babel-polyfill ./main.development",
"test": "ava",
"test:watch": "ava --watch"
"test:watch": "ava --watch",
"coverage": "nyc ava && nyc report --reporter=html && open coverage/index.html || xdg-open coverage/index.html"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -57,6 +58,7 @@
"eslint-plugin-react": "^6.4.1",
"express": "^4.14.0",
"extract-text-webpack-plugin": "^1.0.1",
"nyc": "^10.0.0",
"proxyquire": "^1.7.10",
"style-loader": "^0.13.1",
"webpack": "^1.13.2",
Expand Down

0 comments on commit 685a50e

Please sign in to comment.