From ffc2910a0b1195f7ba63a6930938d466597168d3 Mon Sep 17 00:00:00 2001 From: Lorenzo Iovino Date: Thu, 12 Jun 2025 16:44:22 +0200 Subject: [PATCH] Fix package.json test run script --- package-blank.json | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/package-blank.json b/package-blank.json index ba8abc6..7e36f5a 100644 --- a/package-blank.json +++ b/package-blank.json @@ -1,21 +1,21 @@ { - "name": "node-base-project", - "version": "1.0.0", - "description": "", - "main": "index.js", - "scripts": { - "start": "node build/main.js", - "build": "tsc -p tsconfig.json", - "build+start": "npm run build && npm run start", - "build:watch": "tsc -w -p tsconfig.json", - "test:watch": "node --import tsx --test --watch **/**/*.spec.ts", - "test": "node --import tsx --test **/**/*.spec.ts" - }, - "author": "", - "license": "ISC", - "devDependencies": { - "@types/node": "^20.11.5", - "tsx": "^4.7.0", - "typescript": "^5.3.3" - } + "name": "node-base-project", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "start": "node build/main.js", + "build": "tsc -p tsconfig.json", + "build+start": "npm run build && npm run start", + "build:watch": "tsc -w -p tsconfig.json", + "test:watch": "node --import tsx --test --watch $(find src -name '*.spec.ts')", + "test": "node --import tsx --test $(find src -name '*.spec.ts')" + }, + "author": "", + "license": "ISC", + "devDependencies": { + "@types/node": "^20.11.5", + "tsx": "^4.7.0", + "typescript": "^5.3.3" + } }