Run tests in pre-commit

This commit is contained in:
David Ibia
2026-01-12 13:45:44 +01:00
parent 665c4adf69
commit a1c53aeb5e
4 changed files with 44 additions and 11 deletions

View File

@@ -20,10 +20,12 @@
"scripts": {
"build": "tsc -p tsconfig.json",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "npm run build && node scripts/run-tests.mjs"
"test": "npm run build && node scripts/run-tests.mjs",
"prepare": "husky"
},
"devDependencies": {
"@types/node": "^22.10.2",
"husky": "^9.1.7",
"typescript": "^5.7.3"
}
}