From 17cd6806d42dfa3e957e7441c0699ffb8226a5d7 Mon Sep 17 00:00:00 2001 From: Evan Hahn Date: Wed, 20 Nov 2024 04:10:24 +0000 Subject: [PATCH] test: add scripts to watch TypeScript and `node --test` --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 895dec3..6e3acf9 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,9 @@ "test:eslint": "eslint --cache .", "test:typescript": "tsc", "test:node": "node --test", - "test": "npm-run-all --aggregate-output --print-label --parallel test:*" + "test": "npm-run-all --aggregate-output --print-label --parallel test:*", + "watch:test:typescript": "tsc --watch --project ./tsconfig.dev.json", + "watch:test:node": "npm run test:node -- --watch" }, "license": "MIT", "dependencies": {