build: update test script & add vitest pkg

This commit is contained in:
Ritesh Ghosh
2024-01-07 17:24:49 +05:30
parent 4cf9c57a65
commit d4cdbba51c
+3 -2
View File
@@ -10,7 +10,7 @@
"build": "tsc -p tsconfig.json", "build": "tsc -p tsconfig.json",
"vercel-build": "echo \"Hello\"", "vercel-build": "echo \"Hello\"",
"prepare": "husky install", "prepare": "husky install",
"test": "jest", "test": "vitest run --config vitest.config.ts",
"healthcheck": "curl -f http://localhost:4000/health" "healthcheck": "curl -f http://localhost:4000/health"
}, },
"repository": { "repository": {
@@ -50,6 +50,7 @@
"jest": "^29.6.2", "jest": "^29.6.2",
"ts-jest": "^29.1.1", "ts-jest": "^29.1.1",
"tsx": "^4.2.0", "tsx": "^4.2.0",
"typescript": "^5.3.2" "typescript": "^5.3.2",
"vitest": "^1.1.3"
} }
} }