Skip to content

Commit

Permalink
chore(package): add coverage reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Marton committed Oct 18, 2015
1 parent 132ac9e commit e426611
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"test": "NODE_ENV=test mocha --compilers js:babel/register --require co-mocha 'src/**/*.spec.js'",
"eslint": "eslint src",
"prepublish": "npm test && npm run build",
"build": "rm -rf lib/* && babel src --ignore *.spec.js --out-dir lib"
"build": "rm -rf lib/* && babel src --ignore *.spec.js --out-dir lib",
"coverage": "NODE_ENV=test babel-istanbul --include-babel-polyfill cover _mocha 'src/**/*.spec.js'"
},
"author": "RisingStack",
"repository": {
Expand Down Expand Up @@ -36,6 +37,7 @@
"devDependencies": {
"babel": "^5.8.23",
"babel-eslint": "^4.1.3",
"babel-istanbul": "^0.3.20",
"chai": "^3.3.0",
"chai-subset": "^1.1.0",
"co-mocha": "^1.1.2",
Expand All @@ -45,8 +47,7 @@
"mongoose": "^4.1.11",
"pre-commit": "^1.1.1",
"sinon": "^1.17.1",
"sinon-chai": "^2.8.0",
"graphql": "^0.4.7"
"sinon-chai": "^2.8.0"
},
"pre-commit": [
"test"
Expand Down

0 comments on commit e426611

Please sign in to comment.