From 71b12c624e193b171bce160a4d3b4304a0b0a9d5 Mon Sep 17 00:00:00 2001 From: Mikeal Rogers Date: Sun, 23 Jul 2017 12:46:08 -0700 Subject: [PATCH] fix(coverage): Enable 100% test coverage threshold. --- .gitignore | 3 ++- package.json | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 25c8fdb..02021c4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules -package-lock.json \ No newline at end of file +package-lock.json +.nyc_output \ No newline at end of file diff --git a/package.json b/package.json index 6772ca6..26e22de 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "test": "tests" }, "scripts": { - "test": "tap tests/*.js && standard", - "cover": "tap tests/*.js --cov --coverage-report=lcov", + "test": "tap tests/*.js --100 && standard", + "cover": "tap tests/*.js --coverage-report=lcov && codecov", "precommit": "npm test", "prepush": "npm test", "commitmsg": "validate-commit-msg", @@ -26,6 +26,7 @@ "through2": "^2.0.3" }, "devDependencies": { + "codecov": "^2.2.0", "commitizen": "^2.9.6", "coveralls": "^2.13.1", "cracks": "^3.1.2", @@ -34,7 +35,7 @@ "rimraf": "^2.6.1", "semantic-release": "^6.3.6", "standard": "^10.0.2", - "validate-commit-msg": "^2.12.2" + "validate-commit-msg": "^2.13.1" }, "config": { "commitizen": {