From 60c99cdb7daae43456ac95e4ca375bec4677d117 Mon Sep 17 00:00:00 2001 From: Matt Hamann Date: Sun, 10 Apr 2022 00:57:03 -0400 Subject: [PATCH] chore: upgrade to nyc for test coverage (#400) --- .gitignore | 1 + package.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index e61f0238..61dcc90e 100644 --- a/.gitignore +++ b/.gitignore @@ -10,5 +10,6 @@ node_modules/ node_modules/* npm-debug.log coverage +.nyc_output/ package-lock.json package-lock.json diff --git a/package.json b/package.json index 557c34ae..6335e61d 100644 --- a/package.json +++ b/package.json @@ -27,14 +27,14 @@ "devDependencies": { "coveralls": "^3.1.0", "eslint": "^7.0.0", - "istanbul": "^0.4.5", "nconf-yaml": "^1.0.2", + "nyc": "^15.1.0", "vows": "^0.8.3" }, "main": "./lib/nconf", "scripts": { "test": "vows test/*-test.js test/**/*-test.js --spec", - "cover": "istanbul cover vows -- test/*-test.js test/**/*-test.js --spec", + "cover": "nyc --reporter=lcov npm test", "coveralls": "cat coverage/lcov.info | coveralls", "lint": "eslint ." },