forked from colinhacks/zod
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.41 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"private": true,
"type": "module",
"packageManager": "pnpm@10.8.0",
"repository": {
"type": "git",
"url": "git+https://github.com/colinhacks/zod.git"
},
"bugs": {
"url": "https://github.com/colinhacks/zod/issues"
},
"support": {
"backing": {
"npm-funding": true
}
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.4",
"@biomejs/biome": "^1.9.4",
"@types/benchmark": "^2.1.5",
"@types/chalk": "^2.2.4",
"@types/node": "^20.17.30",
"@web-std/file": "^3.0.3",
"arktype": "^2.1.19",
"benchmark": "^2.1.4",
"chalk": "^5.4.1",
"console-table-printer": "^2.12.1",
"execa": "^9.5.2",
"husky": "^7.0.4",
"jsr": "^0.12.4",
"lint-staged": "^12.5.0",
"mitata": "^0.1.14",
"prettier": "^3.5.3",
"supershy": "^1.0.0",
"tinybench": "^2.9.0",
"ts-morph": "^14.0.0",
"tsdown": "^0.11.9",
"tslib": "^2.8.1",
"tsx": "^4.19.3",
"typescript": "^5.5.4",
"vitest": "^2.1.9",
"zod": "workspace:*",
"zod3": "npm:zod@^3.0.0"
},
"lint-staged": {
"packages/*/src/**/*.ts": [
"biome format --no-errors-on-unmatched --write",
"biome lint --no-errors-on-unmatched --write"
],
"packages/*/**/*.json": [
"biome format --no-errors-on-unmatched --write",
"biome lint --no-errors-on-unmatched --write"
],
"packages/*/**/*.md": ["prettier --ignore-unknown --write"]
},
"scripts": {
"fix": "pnpm run format && pnpm run lint",
"format": "biome check --write .",
"format:check": "biome check .",
"lint": "biome lint --write .",
"lint:check": "biome lint .",
"clean": "pnpm run -r clean && rm -rf node_modules",
"build": "pnpm run -r --filter '!@zod/docs' build",
"test:watch": "vitest",
"test": "vitest run",
"prepublishOnly": "pnpm run test && pnpm run build && tsx scripts/prepublish.ts",
"dev": "tsx --conditions @zod/source",
"dev:watch": "tsx --conditions @zod/source --watch",
"dev:play": "pnpm dev play.ts",
"bench": "tsx --conditions @zod/source packages/bench/index.ts",
"moltar": "pnpm bench object-moltar",
"prepare": "husky install",
"postbuild": "biome format --write .",
"publish:jsr": "jsr publish --dry-run",
"bundle:rollup": "rollup -c",
"bundle:esbuild": "esbuild --bundle ./scratch/input.ts --outfile=./scratch/out_esbuild.js --bundle --format=esm",
"pub:beta": "pnpm run -r pub:beta"
}
}