From e7ba0690e83ba8bd583223e0fd0c8a79ed3659d7 Mon Sep 17 00:00:00 2001 From: Ned Zimmerman Date: Wed, 26 Jun 2024 09:10:53 -0300 Subject: [PATCH] fix: configure c8 for more accurate coverage --- package-lock.json | 2 +- package.json | 14 +++----------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1241d88..8a9a9e9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,7 @@ "": { "name": "idrc-cms-authenticator", "version": "1.0.0-beta.1", - "license": "MIT", + "license": "BSD-3-Clause", "dependencies": { "cookie-parser": "^1.4.6", "dotenv": "^16.4.5", diff --git a/package.json b/package.json index 6ec8608..26c8c4a 100644 --- a/package.json +++ b/package.json @@ -12,15 +12,9 @@ "format": "biome format --write .", "lint": "biome lint --write .", "prepare": "husky", - "test": "c8 -r clover -r text ava" + "test": "c8 --all -r clover -r text ava" }, - "keywords": [ - "decap-cms", - "sveltia-cms", - "github", - "gitlab", - "auth" - ], + "keywords": ["decap-cms", "sveltia-cms", "github", "gitlab", "auth"], "author": "OCAD University ", "license": "BSD-3-Clause", "dependencies": { @@ -37,8 +31,6 @@ "supertest": "^7.0.0" }, "lint-staged": { - "*.{js,json}": [ - "biome check --write --no-errors-on-unmatched" - ] + "*.{js,json}": ["biome check --write --no-errors-on-unmatched"] } }