Skip to content

Commit

Permalink
test: Make use of jest for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
yvele committed Apr 18, 2017
1 parent b1d35ec commit 9683cd5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions package.json
Expand Up @@ -32,10 +32,10 @@
"scripts": {
"bootstrap": "npm install",
"build": "rm -rf lib && babel src --out-dir lib",
"clean": "rm -rf lib coverage .nyc_output node_modules",
"clean": "rm -rf lib coverage node_modules",
"clean:build": "rm -rf lib",
"clean:npm": "rm -rf node_modules",
"coverage": "rm -rf coverage .nyc_output && NODE_ENV=nyc npm run build && nyc mocha",
"coverage": "jest --coverage",
"publish": "npm run validate && npm run build && npm publish",
"style": "eslint src/**",
"test": "jest",
Expand All @@ -49,7 +49,6 @@
"babel-cli": "^6.22.2",
"babel-eslint": "^7.1.1",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-istanbul": "^3.1.2",
"babel-plugin-transform-export-extensions": "^6.22.0",
"babel-preset-env": "^1.1.8",
"babel-register": "^6.22.0",
Expand Down

0 comments on commit 9683cd5

Please sign in to comment.