Skip to content

Commit

Permalink
npm script cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
vinniegarcia committed Mar 6, 2015
1 parent b4c51a7 commit b0eda12
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
"copydata": "mkdir -p dist/test/fixtures && cp -R src/test/fixtures/* dist/test/fixtures/",
"cc": "npm run compile && npm run copydata",
"prepublish": "npm run cc",
"test": "npm run cc && istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly dist/test/*.js && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
"mocha": "npm run cc && ./node_modules/mocha/bin/_mocha dist/test/*.js",
"istanbul": "npm run cc && istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly dist/test/*.js",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"test": "npm run istanbul && npm run coveralls"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit b0eda12

Please sign in to comment.