From ab033567b9c8b31117cb026dc7f1e592ce455c65 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Mon, 10 Oct 2022 15:26:57 -0700 Subject: [PATCH] [Dev Deps] switch from `covert` to `nyc` --- .gitignore | 3 +++ .nycrc | 14 ++++++++++++++ package.json | 5 ++--- 3 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 .nycrc diff --git a/.gitignore b/.gitignore index da9c2fc..0cfeaf4 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,9 @@ node_modules +coverage/ +.nyc_output/ + # Only apps should have lockfiles npm-shrinkwrap.json package-lock.json diff --git a/.nycrc b/.nycrc new file mode 100644 index 0000000..55c3d29 --- /dev/null +++ b/.nycrc @@ -0,0 +1,14 @@ +{ + "all": true, + "check-coverage": false, + "reporter": ["text-summary", "text", "html", "json"], + "lines": 86, + "statements": 85.93, + "functions": 82.43, + "branches": 76.06, + "exclude": [ + "coverage", + "example", + "test" + ] +} diff --git a/package.json b/package.json index 8266dad..981c508 100644 --- a/package.json +++ b/package.json @@ -4,14 +4,13 @@ "description": "parse argument options", "main": "index.js", "devDependencies": { - "covert": "^1.1.1", "npmignore": "^0.3.0", + "nyc": "^10.3.2", "tape": "^5.6.1" }, "scripts": { "prepack": "npmignore --auto --commentLines=auto", - "test": "tape test/*.js", - "coverage": "covert test/*.js" + "test": "nyc tape test/*.js" }, "testling": { "files": "test/*.js",