Skip to content
This repository has been archived by the owner on Jul 19, 2018. It is now read-only.

Commit

Permalink
Add istanbul to do the code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Mazzuola committed Mar 17, 2016
1 parent 56f9889 commit 74b3f93
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
lib
node_modules
npm-debug.log
coverage
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
src/
coverage/
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"compile": "babel src -d lib && browserify src/client.js -t [babelify --no-sourceMaps] -p [minifyify --no-map] -s cd -o lib/client.web.js",
"prepublish": "npm run compile",
"docs": "documentation build src/client.js -o README.md -f md",
"test": "npm run eslint && npm run compile && mocha --compilers js:babel-register --reporter mocha-lcov-reporter | ./node_modules/coveralls/bin/coveralls.js",
"test": "npm run eslint && npm run compile && istanbul cover _mocha -- --compilers js:babel-register -R spec test/ && cat ./coverage/lcov.info | coveralls",
"eslint": "eslint src",
"dev": "npm run eslint && npm run compile && mocha --compilers js:babel-register"
"test-dev": "npm run eslint && npm run compile && mocha --compilers js:babel-register"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -42,9 +42,9 @@
"coveralls": "^2.11.8",
"eslint": "^2.4.0",
"fetch-mock": "^4.1.1",
"istanbul": "^1.0.0-alpha.2",
"minifyify": "^7.3.2",
"mocha": "^2.4.5",
"mocha-lcov-reporter": "^1.2.0",
"mockery": "^1.4.1"
},
"dependencies": {
Expand Down

0 comments on commit 74b3f93

Please sign in to comment.