Add coveralls to script

This commit is contained in:
Thomas Huang 2017-07-24 09:06:40 -07:00
parent 55b7e457c5
commit 24ffb40ec7
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +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",
"test-coverage": "nyc --reporter=lcov --reporter=text npm run test-unit && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage",
"lint": "gulp lint",
"buildCiUnits": "node test/integration/index.js",
"watch": "mocha watch --recursive \"test/unit/**/*.js\"",