From b0eda12c192bbab1f42df4873baabeddf22327c2 Mon Sep 17 00:00:00 2001 From: vinniegarcia Date: Thu, 5 Mar 2015 20:20:04 -0800 Subject: [PATCH] npm script cleanup --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 88e1923..1f352b0 100644 --- a/package.json +++ b/package.json @@ -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",