From 3326d80c11e2cc63033da4113b0e830e142509be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 14 Oct 2020 12:27:17 -0400 Subject: [PATCH] feat: add nyc config --- install/package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install/package.json b/install/package.json index aecc789bc3..9b212e7401 100644 --- a/install/package.json +++ b/install/package.json @@ -16,6 +16,11 @@ "test": "npx nyc --reporter=html --reporter=text-summary npx mocha", "coveralls": "nyc report --reporter=text-lcov | coveralls && rm -r coverage" }, + "nyc": { + "exclude": [ + "src/upgrades/*" + ] + }, "husky": { "hooks": { "pre-commit": "npx lint-staged",