aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-09-14 07:04:48 +0800
committerkumavis <aaron@kumavis.me>2017-09-14 07:04:48 +0800
commitdd90e8e364a7023431be081d293d10129b76422c (patch)
tree91c0e7069317f90e4362b70a17b9ecf6044b9c66 /package.json
parent1d3cd9768cdd372d02e7e34674dde9d86af536f5 (diff)
downloadtangerine-wallet-browser-dd90e8e364a7023431be081d293d10129b76422c.tar.gz
tangerine-wallet-browser-dd90e8e364a7023431be081d293d10129b76422c.tar.zst
tangerine-wallet-browser-dd90e8e364a7023431be081d293d10129b76422c.zip
tests - break out coveralls npm script
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json
index 12f79ba35..d618983bd 100644
--- a/package.json
+++ b/package.json
@@ -13,7 +13,8 @@
"test-unit": "METAMASK_ENV=test mocha --require test/helper.js --recursive \"test/unit/**/*.js\"",
"single-test": "METAMASK_ENV=test mocha --require test/helper.js",
"test-integration": "npm run buildMock && npm run buildCiUnits && karma start",
- "test-coverage": "nyc npm run test-unit && if [ $COVERALLS_REPO_TOKEN ]; then nyc report --reporter=text-lcov | coveralls; fi",
+ "test-coverage": "nyc npm run test-unit && npm run coveralls-upload",
+ "coveralls-upload": "if [ $COVERALLS_REPO_TOKEN ]; then nyc report --reporter=text-lcov | coveralls; fi",
"ci": "npm run lint && npm run test-coverage && npm run test-integration",
"lint": "gulp lint",
"buildCiUnits": "node test/integration/index.js",