@exodus/zod 3.24.1-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +3049 -0
- package/index.d.ts +2 -0
- package/lib/index.mjs +4382 -0
- package/package.json +117 -0
package/package.json
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@exodus/zod",
|
|
3
|
+
"version": "3.24.1-rc.0",
|
|
4
|
+
"author": "Colin McDonnell <colin@colinhacks.com>",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/colinhacks/zod.git"
|
|
8
|
+
},
|
|
9
|
+
"type": "module",
|
|
10
|
+
"module": "./lib/index.mjs",
|
|
11
|
+
"devDependencies": {
|
|
12
|
+
"@babel/core": "^7.22.5",
|
|
13
|
+
"@babel/preset-env": "^7.22.5",
|
|
14
|
+
"@babel/preset-typescript": "^7.22.5",
|
|
15
|
+
"@jest/globals": "^29.4.3",
|
|
16
|
+
"@rollup/plugin-typescript": "^8.2.0",
|
|
17
|
+
"@standard-schema/spec": "^1.0.0-beta.4",
|
|
18
|
+
"@swc/core": "^1.3.66",
|
|
19
|
+
"@swc/jest": "^0.2.26",
|
|
20
|
+
"@types/benchmark": "^2.1.0",
|
|
21
|
+
"@types/jest": "^29.2.2",
|
|
22
|
+
"@types/node": "14",
|
|
23
|
+
"@typescript-eslint/eslint-plugin": "^5.15.0",
|
|
24
|
+
"@typescript-eslint/parser": "^5.15.0",
|
|
25
|
+
"babel-jest": "^29.5.0",
|
|
26
|
+
"benchmark": "^2.1.4",
|
|
27
|
+
"dependency-cruiser": "^9.19.0",
|
|
28
|
+
"eslint": "^8.11.0",
|
|
29
|
+
"eslint-config-prettier": "^8.5.0",
|
|
30
|
+
"eslint-plugin-ban": "^1.6.0",
|
|
31
|
+
"eslint-plugin-import": "^2.25.4",
|
|
32
|
+
"eslint-plugin-simple-import-sort": "^7.0.0",
|
|
33
|
+
"eslint-plugin-unused-imports": "^2.0.0",
|
|
34
|
+
"husky": "^7.0.4",
|
|
35
|
+
"jest": "^29.3.1",
|
|
36
|
+
"lint-staged": "^12.3.7",
|
|
37
|
+
"netlify-cli": "^17.26.2",
|
|
38
|
+
"nodemon": "^2.0.15",
|
|
39
|
+
"prettier": "^2.6.0",
|
|
40
|
+
"pretty-quick": "^3.1.3",
|
|
41
|
+
"rollup": "^2.70.1",
|
|
42
|
+
"ts-jest": "^29.1.0",
|
|
43
|
+
"ts-morph": "^14.0.0",
|
|
44
|
+
"ts-node": "^10.9.1",
|
|
45
|
+
"tslib": "^2.3.1",
|
|
46
|
+
"tsx": "^3.8.0",
|
|
47
|
+
"typescript": "^5.0.0",
|
|
48
|
+
"vitest": "^0.32.2"
|
|
49
|
+
},
|
|
50
|
+
"exports": {
|
|
51
|
+
".": {
|
|
52
|
+
"types": "./index.d.ts",
|
|
53
|
+
"import": "./lib/index.mjs"
|
|
54
|
+
},
|
|
55
|
+
"./package.json": "./package.json"
|
|
56
|
+
},
|
|
57
|
+
"bugs": {
|
|
58
|
+
"url": "https://github.com/colinhacks/zod/issues"
|
|
59
|
+
},
|
|
60
|
+
"description": "TypeScript-first schema declaration and validation library with static type inference",
|
|
61
|
+
"files": [
|
|
62
|
+
"/lib/index.mjs",
|
|
63
|
+
"/index.d.ts"
|
|
64
|
+
],
|
|
65
|
+
"funding": "https://github.com/sponsors/colinhacks",
|
|
66
|
+
"homepage": "https://zod.dev",
|
|
67
|
+
"keywords": [
|
|
68
|
+
"typescript",
|
|
69
|
+
"schema",
|
|
70
|
+
"validation",
|
|
71
|
+
"type",
|
|
72
|
+
"inference"
|
|
73
|
+
],
|
|
74
|
+
"license": "MIT",
|
|
75
|
+
"lint-staged": {
|
|
76
|
+
"src/*.ts": [
|
|
77
|
+
"eslint --cache --fix",
|
|
78
|
+
"prettier --ignore-unknown --write"
|
|
79
|
+
],
|
|
80
|
+
"*.md": [
|
|
81
|
+
"prettier --ignore-unknown --write"
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
"scripts": {
|
|
85
|
+
"prettier:check": "prettier --check src/**/*.ts deno/lib/**/*.ts *.md --no-error-on-unmatched-pattern",
|
|
86
|
+
"prettier:fix": "prettier --write src/**/*.ts deno/lib/**/*.ts *.md --ignore-unknown --no-error-on-unmatched-pattern",
|
|
87
|
+
"lint:check": "eslint --cache --ext .ts ./src",
|
|
88
|
+
"lint:fix": "eslint --cache --fix --ext .ts ./src",
|
|
89
|
+
"check": "yarn lint:check && yarn prettier:check",
|
|
90
|
+
"fix": "yarn lint:fix && yarn prettier:fix",
|
|
91
|
+
"clean": "rm -rf lib/* deno/lib/*",
|
|
92
|
+
"build": "yarn run clean && npm run build:esm",
|
|
93
|
+
"build:esm": "rollup --config ./configs/rollup.config.js",
|
|
94
|
+
"build:types": "tsc -p ./configs/tsconfig.types.json",
|
|
95
|
+
"build:test": "tsc -p ./configs/tsconfig.test.json",
|
|
96
|
+
"test:watch": "yarn test:ts-jest --watch",
|
|
97
|
+
"test": "yarn test:ts-jest",
|
|
98
|
+
"test:babel": "jest --coverage --config ./configs/babel-jest.config.json",
|
|
99
|
+
"test:bun": "bun test src/",
|
|
100
|
+
"test:vitest": "npx vitest --config ./configs/vitest.config.ts",
|
|
101
|
+
"test:ts-jest": "npx jest --config ./configs/ts-jest.config.json",
|
|
102
|
+
"test:swc": "npx jest --config ./configs/swc-jest.config.json",
|
|
103
|
+
"prepublishOnly": "npm run test && npm run build",
|
|
104
|
+
"play": "nodemon -e ts -w . -x tsx playground.ts",
|
|
105
|
+
"depcruise": "depcruise -c .dependency-cruiser.js src",
|
|
106
|
+
"benchmark": "tsx src/benchmarks/index.ts",
|
|
107
|
+
"prepare": "husky install",
|
|
108
|
+
"docs": "netlify dev"
|
|
109
|
+
},
|
|
110
|
+
"sideEffects": false,
|
|
111
|
+
"support": {
|
|
112
|
+
"backing": {
|
|
113
|
+
"npm-funding": true
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"types": "./index.d.ts"
|
|
117
|
+
}
|