aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorThomas Huang <thomas.b.huang@gmail.com>2017-07-24 12:32:49 +0800
committerThomas Huang <thomas.b.huang@gmail.com>2017-07-24 12:32:49 +0800
commitd571f5ee701acd87495ad8ed69a74e6c5ca424f3 (patch)
tree23c516ef91d7dd0f9feeb30128d6038a70e1a5b0 /package.json
parent9b24ab0e70d72471ddc928a763bc2096790ab966 (diff)
downloadtangerine-wallet-browser-d571f5ee701acd87495ad8ed69a74e6c5ca424f3.tar
tangerine-wallet-browser-d571f5ee701acd87495ad8ed69a74e6c5ca424f3.tar.gz
tangerine-wallet-browser-d571f5ee701acd87495ad8ed69a74e6c5ca424f3.tar.bz2
tangerine-wallet-browser-d571f5ee701acd87495ad8ed69a74e6c5ca424f3.tar.lz
tangerine-wallet-browser-d571f5ee701acd87495ad8ed69a74e6c5ca424f3.tar.xz
tangerine-wallet-browser-d571f5ee701acd87495ad8ed69a74e6c5ca424f3.tar.zst
tangerine-wallet-browser-d571f5ee701acd87495ad8ed69a74e6c5ca424f3.zip
Add Test Coverage with nyc package and coveralls for github badge
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/package.json b/package.json
index 375902d09..ef6e55980 100644
--- a/package.json
+++ b/package.json
@@ -13,6 +13,7 @@
"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 && testem ci -P 2",
+ "test-coverage": "nyc --reporter=text npm run test-unit",
"lint": "gulp lint",
"buildCiUnits": "node test/integration/index.js",
"watch": "mocha watch --recursive \"test/unit/**/*.js\"",
@@ -144,6 +145,7 @@
"brfs": "^1.4.3",
"browserify": "^13.0.0",
"chai": "^3.5.0",
+ "coveralls": "^2.13.1",
"deep-freeze-strict": "^1.1.1",
"del": "^2.2.0",
"envify": "^4.0.0",
@@ -170,6 +172,7 @@
"mocha-jsdom": "^1.1.0",
"mocha-sinon": "^1.1.5",
"nock": "^8.0.0",
+ "nyc": "^11.0.3",
"open": "0.0.5",
"prompt": "^1.0.0",
"qs": "^6.2.0",