summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorKai Stevenson <kai@kaistevenson.com>2025-11-08 14:54:21 -0800
committerKai Stevenson <kai@kaistevenson.com>2025-11-08 15:16:48 -0800
commitb32604eef0cec59798cdfea53b82766819429717 (patch)
tree7267340193ee2cdce306e4e7a9672f96fb0c16e7 /package.json
parent0a046893eaffc0d9ef762eb56b48f01bbd79846f (diff)
test generator harnesskai/test-generator
Diffstat (limited to 'package.json')
-rw-r--r--package.json13
1 files changed, 10 insertions, 3 deletions
diff --git a/package.json b/package.json
index 86261db..da58a1a 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,9 @@
"url": "git+https://git.aberrantflux.xyz/kai-script.git/"
},
"scripts": {
- "build": "tsc"
+ "build": "tsc",
+ "generate-tests": "rm -f tests/type-consistency/generated/*.test.ts && tsx tests/type-consistency/generateAll.ts",
+ "test": "pnpm run generate-tests && vitest run --reporter verbose"
},
"exports": {
"types": "./dist/index.d.ts",
@@ -21,9 +23,14 @@
"pnpm-lock.yaml",
"tsconfig.json"
],
+ "dependencies": {
+ "typescript": "5.9.3",
+ "node": "^25.1.0"
+ },
"devDependencies": {
- "typescript": "^5.9.3",
- "tsx": "^4.19.2"
+ "tsx": "^4.19.2",
+ "vitest": "^4.0.8",
+ "@types/node": "^24.10.0"
},
"publishConfig": {
"access": "public"