-
-
Notifications
You must be signed in to change notification settings - Fork 34
/
package.json
186 lines (186 loc) · 5.24 KB
/
package.json
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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
{
"name": "express-zod-api",
"version": "21.3.0",
"description": "A Typescript framework to help you get an API server up and running with I/O schema validation and custom middlewares in minutes.",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/RobinTail/express-zod-api.git"
},
"homepage": "https://ez.robintail.cz",
"author": {
"name": "Anna Bocharova",
"url": "https://robintail.cz",
"email": "[email protected]"
},
"bugs": "https://github.com/RobinTail/express-zod-api/issues",
"funding": "https://github.com/sponsors/RobinTail",
"scripts": {
"start": "tsx example/index.ts",
"prebuild": "yarn build:docs && yarn build:client && yarn build:md",
"build": "tsup && attw --pack",
"postbuild": "tsx tools/make-tests.ts",
"build:docs": "tsx example/generate-documentation.ts",
"build:client": "tsx example/generate-client.ts",
"build:md": "tsx tools/contributors.ts && tsx tools/license.ts",
"pretest": "tsc --noEmit",
"test": "vitest run --coverage tests/unit tests/system",
"posttest": "make-coverage-badge --output-path coverage.svg",
"test:cjs": "yarn --cwd tests/cjs && vitest run -r tests/cjs",
"test:esm": "yarn --cwd tests/esm && vitest run -r tests/esm",
"test:952": "yarn --cwd tests/issue952 && yarn --cwd tests/issue952 test",
"test:compat": "yarn --cwd tests/compat && yarn --cwd tests/compat test",
"test:oas": "vitest run tests/oas",
"bench": "vitest bench --run tests/bench",
"lint": "eslint && yarn prettier *.md --check",
"mdfix": "prettier *.md --write",
"precommit": "yarn lint && yarn test && yarn build && git add *.md example/example.* LICENSE coverage.svg",
"prepublishOnly": "yarn lint && yarn test && yarn build",
"postversion": "git push && git push --tags",
"install_hooks": "husky"
},
"type": "module",
"sideEffects": true,
"main": "dist/index.cjs",
"types": "dist/index.d.ts",
"module": "dist/index.js",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./migration": {
"import": {
"types": "./migration/index.d.ts",
"default": "./migration/index.js"
},
"require": {
"types": "./migration/index.d.cts",
"default": "./migration/index.cjs"
}
}
},
"files": [
"dist",
"migration",
"*.md"
],
"engines": {
"node": "^18.18.0 || ^20.9.0 || ^22.0.0"
},
"dependencies": {
"ansis": "^3.2.0",
"node-mocks-http": "^1.16.1",
"openapi3-ts": "^4.4.0",
"ramda": "^0.30.1"
},
"peerDependencies": {
"@types/compression": "^1.7.5",
"@types/express": "^4.17.13 || ^5.0.0",
"@types/express-fileupload": "^1.5.0",
"@types/http-errors": "^2.0.2",
"compression": "^1.7.4",
"express": "^4.21.1 || 5.0.1",
"express-fileupload": "^1.5.0",
"http-errors": "^2.0.0",
"typescript": "^5.1.3",
"zod": "^3.23.0"
},
"peerDependenciesMeta": {
"@types/compression": {
"optional": true
},
"@types/express": {
"optional": true
},
"@types/express-fileupload": {
"optional": true
},
"@types/http-errors": {
"optional": true
},
"compression": {
"optional": true
},
"express-fileupload": {
"optional": true
}
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.0",
"@eslint/eslintrc": "^3",
"@tsconfig/node18": "^18.2.1",
"@types/compression": "^1.7.5",
"@types/cors": "^2.8.14",
"@types/depd": "^1.1.36",
"@types/eslint": "^9.6.0",
"@types/express": "^5.0.0",
"@types/express-fileupload": "^1.5.0",
"@types/http-errors": "^2.0.2",
"@types/node": "^22.0.0",
"@types/node-forge": "^1.3.11",
"@types/ramda": "^0.30.0",
"@types/semver": "^7.5.8",
"@types/swagger-ui-express": "^4.1.6",
"@typescript-eslint/rule-tester": "^8.15.0",
"@vitest/coverage-v8": "^2.1.8",
"camelize-ts": "^3.0.0",
"compression": "^1.7.4",
"cors": "^2.8.5",
"eslint": "^9.3.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-allowed-dependencies": "^1.0.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-unicorn": "^56.0.0",
"express": "^5.0.0",
"express-fileupload": "^1.5.0",
"globals": "^15.3.0",
"http-errors": "^2.0.0",
"husky": "^9.0.5",
"make-coverage-badge": "^1.2.0",
"node-forge": "^1.3.1",
"prettier": "3.4.1",
"semver": "^7.6.3",
"snakify-ts": "^2.3.0",
"swagger-ui-express": "^5.0.0",
"tsup": "^8.0.0",
"tsx": "^4.6.2",
"typescript": "^5.5.2",
"typescript-eslint": "^8.15.0",
"undici": "^6.19.8",
"vitest": "^2.1.8",
"zod": "^3.23.0"
},
"resolutions": {
"**/@scarf/scarf": "npm:[email protected]",
"**/vite": "^6"
},
"keywords": [
"nodejs",
"api",
"http",
"middleware",
"documentation",
"json",
"express",
"typescript",
"schema",
"server",
"handler",
"swagger",
"documentation-tool",
"openapi",
"schema-validation",
"endpoint",
"openapi-specification",
"swagger-documentation",
"zod",
"validation"
]
}