From caddc214f28f7561cb7033abafe36fe4085d03c9 Mon Sep 17 00:00:00 2001 From: Matthew McEachen Date: Sat, 21 Dec 2024 21:38:11 -0800 Subject: [PATCH] fix: update tests script to include TypeScript compilation and linting --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1460af8..37adf64 100644 --- a/package.json +++ b/package.json @@ -36,8 +36,8 @@ "jest:coverage": "jest --coverage", "jest:watch": "npm t -- --watch", "jest:clear": "jest --clearCache", - "pretests": "npm run tsup", - "tests": "run-s lint test:*", + "// tests": "tsc validates the typescript compiles. lint checks for style issues. tsup bundles the code that the integration tests depend on. test:* runs the tests.", + "tests": "run-s tsc lint tsup test:*", "test": "npm run test:cjs", "test:cjs": "jest --config jest.config.cjs", "test:esm": "node --experimental-vm-modules --no-warnings node_modules/jest/bin/jest.js --config jest.config.mjs",