-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
149 lines (149 loc) · 5.21 KB
/
package.json
File metadata and controls
149 lines (149 loc) · 5.21 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
"name": "zodkit",
"version": "0.2.1-beta",
"description": "Static analysis and development tools for Zod schemas - validate files, generate mock data, and catch type safety issues before runtime",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"zodkit": "dist/cli/index.js"
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"scripts": {
"build": "npm run build:tsc && npm run optimize:bundle",
"build:clean": "rm -rf dist && npm run build",
"build:dev": "npm run build:tsc",
"build:analyze": "npm run build && npm run bundle:analyze",
"build:tsc": "tsc",
"build:webpack": "webpack --mode production",
"dev": "tsc --watch",
"start": "node dist/cli/index.js",
"optimize:bundle": "node scripts/optimize-bundle.js",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage --watchAll=false",
"test:integration": "jest --testMatch='**/integration/**/*.test.ts'",
"test:performance": "jest --testMatch='**/performance/**/*.test.ts' --runInBand",
"test:e2e": "jest --testMatch='**/e2e/**/*.test.ts'",
"benchmark": "node dist/cli/index.js perf",
"benchmark:save": "node dist/cli/index.js perf --save",
"homebrew:update": "./scripts/update-homebrew.sh",
"chocolatey:build": "powershell -ExecutionPolicy Bypass -File scripts/build-chocolatey.ps1",
"chocolatey:test": "powershell -ExecutionPolicy Bypass -File scripts/test-chocolatey.ps1",
"chocolatey:publish": "powershell -ExecutionPolicy Bypass -File scripts/build-chocolatey.ps1 && echo 'Package built! To publish: choco push dist/chocolatey/zodkit.0.1.0.nupkg -s https://push.chocolatey.org/'",
"docker:build": "./scripts/docker-build.sh",
"docker:build:push": "./scripts/docker-build.sh --push --latest",
"docker:run": "docker run --rm -v $(pwd):/workspace zodkit:latest",
"docker:dev": "docker-compose --profile dev up",
"docker:ci": "docker-compose --profile ci run --rm zodkit-ci",
"docker:benchmark": "docker-compose --profile benchmark run --rm zodkit-benchmark",
"lint": "eslint src --ext .ts",
"lint:fix": "eslint src --ext .ts --fix",
"format": "prettier --write \"src/**/*.{ts,js,json,md}\"",
"docs": "typedoc",
"docs:watch": "typedoc --watch",
"docs:serve": "npx http-server docs/api -p 8080 -o",
"security:audit": "npm audit --audit-level=moderate",
"security:audit-fix": "npm audit fix",
"security:check": "npm audit --audit-level moderate",
"security:licenses": "npx license-checker --onlyAllow 'MIT;Apache-2.0;BSD-2-Clause;BSD-3-Clause;ISC;0BSD;CC0-1.0;Unlicense' --excludePrivatePackages",
"format:check": "prettier --check \"src/**/*.{ts,js,json,md}\"",
"typecheck": "tsc --noEmit",
"typecheck:strict": "tsc --noEmit --strict",
"validate": "npm run typecheck && npm run lint && npm run test:coverage",
"prepack": "npm run build",
"prepublishOnly": "npm run validate",
"version": "npm run validate && git add -A src",
"postversion": "git push && git push --tags",
"audit:fix": "npm audit fix",
"deps:check": "npm outdated",
"deps:update": "npm update",
"bundle:analyze": "node scripts/analyze-bundle.js",
"bundle:check": "npm pack --dry-run",
"docs:generate": "typedoc src --out docs",
"clean": "rm -rf dist coverage docs",
"analyze:architecture": "npx skott --displayMode=webapp",
"analyze:unused": "npx knip",
"analyze:circular": "npx madge --circular --extensions ts,tsx src/",
"analyze:circular-graph": "npx madge --circular --extensions ts,tsx --image circular-deps.svg src/",
"analyze:all": "npm run analyze:unused && npm run analyze:circular",
"biome:check": "biome check .",
"biome:fix": "biome check --write ."
},
"keywords": [
"zod",
"validation",
"cli",
"typescript",
"static-analysis",
"schema-validation"
],
"author": "JSONbored",
"license": "MIT",
"type": "commonjs",
"sideEffects": [
"*.css",
"*.scss",
"dist/cli/index.js"
],
"engines": {
"node": ">=16.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/JSONbored/zodkit.git"
},
"bugs": {
"url": "https://github.com/JSONbored/zodkit/issues"
},
"homepage": "https://github.com/JSONbored/zodkit#readme",
"dependencies": {
"@inquirer/prompts": "^7.8.6",
"commander": "^14.0.1",
"fast-glob": "^3.3.3",
"glob": "^11.1.0",
"picocolors": "^1.1.1",
"ws": "^8.18.3",
"zod": "^4.1.11"
},
"devDependencies": {
"@biomejs/biome": "^2.2.5",
"@faker-js/faker": "^10.0.0",
"@jest/globals": "^30.1.3",
"@types/ink": "^0.5.2",
"@types/ink-spinner": "^3.0.5",
"@types/inquirer": "^9.0.9",
"@types/jest": "^30.0.0",
"@types/node": "^24.6.0",
"@types/react": "^19.1.14",
"@types/ws": "^8.18.1",
"@typescript-eslint/eslint-plugin": "^8.44.1",
"@typescript-eslint/parser": "^8.44.1",
"chokidar": "^4.0.3",
"eslint": "^9.36.0",
"ink": "^6.3.1",
"ink-select-input": "^6.2.0",
"ink-spinner": "^5.0.0",
"ink-text-input": "^6.0.0",
"inquirer": "^12.9.6",
"jest": "^30.1.3",
"knip": "^5.64.1",
"lefthook": "^1.13.6",
"madge": "^8.0.0",
"prettier": "^3.6.2",
"ts-jest": "^29.4.4",
"ts-loader": "^9.5.4",
"ts-morph": "^27.0.0",
"ts-node": "^10.9.2",
"typedoc": "^0.28.13",
"typescript": "^5.9.2",
"ultracite": "^5.5.0",
"webpack": "^5.101.3",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4"
}
}