Skip to content

Commit 616f840

Browse files
committed
Update npm scripts, add missing devDependency
1 parent 749679b commit 616f840

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88
"build": "npm run clean && webpack --progress --colors --env build",
99
"dev": "npm run clean && webpack --progress --colors --watch --env dev",
1010
"lint": "eslint .",
11-
"test": "npm run lint && jest --coverage",
11+
"test": "npm run lint && jest --coverage --verbose",
1212
"test:clean": "rimraf ./coverage",
1313
"test:watch": "jest --watchAll",
14-
"coveralls": "cat ./coverage/lcov.info | coveralls"
14+
"coveralls": "cat ./coverage/lcov.info | coveralls",
15+
"show:cov": "open coverage/lcov-report/index.html"
1516
},
1617
"jest": {
1718
"collectCoverageFrom": [
@@ -63,6 +64,7 @@
6364
"react-addons-test-utils": "15.4.2",
6465
"react-dom": "15.4.2",
6566
"regenerator-runtime": "^0.10.5",
67+
"rimraf": "^2.6.1",
6668
"style-loader": "^0.17.0",
6769
"webpack": "2.4.1",
6870
"yargs": "7.1.0"

0 commit comments

Comments
 (0)