From 5bb1a6ab2928a5c91252474640ad7754241ec3f1 Mon Sep 17 00:00:00 2001 From: Daniel Yuschick Date: Thu, 28 Dec 2023 20:51:49 +0200 Subject: [PATCH] fix: npm test scripts --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 07eec0a..b9b303d 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,8 @@ "scripts": { "prepare": "husky install", "jest": "cross-env NODE_OPTIONS=\"--experimental-vm-modules\" jest --runInBand --no-cache", - "test": "npm run jest", - "test:watch": "npm run jest --watch" + "test": "npm run jest -- --coverage", + "test:watch": "npm run jest -- --watch" }, "repository": { "type": "git", @@ -56,7 +56,7 @@ "stylelint": "^16.1.0" }, "lint-staged": { - "**/*.{js|md}": [ + "**/*.js|md|json": [ "eslint", "prettier --write" ]