-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathpackage.json
191 lines (191 loc) · 5.29 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
187
188
189
190
191
{
"name": "express-zod-api",
"version": "16.5.0",
"description": "A Typescript library 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": "me@robintail.cz"
},
"bugs": {
"url": "https://github.com/RobinTail/express-zod-api/issues"
},
"scripts": {
"start": "tsx example/index.ts",
"build": "yarn build:compile && yarn build:tests && yarn build:assets",
"build:compile": "tsup && attw --pack",
"build:tests": "yarn cleanup && tsx tools/make-tests.ts",
"build:assets": "yarn build:docs && yarn build:client && yarn build:license",
"build:docs": "tsx example/generate-documentation.ts",
"build:client": "tsx example/generate-client.ts",
"build:license": "tsx tools/license.ts",
"build:logo": "tsx tools/startup-logo.ts",
"test": "yarn test:types && yarn test:unit && yarn test:badge",
"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:u": "yarn test:unit -u && yarn test:badge",
"test:types": "tsc --noEmit",
"test:unit": "vitest run --coverage tests/unit tests/system",
"test:badge": "make-coverage-badge --output-path coverage.svg",
"lint": "eslint src example tests tools && yarn prettier *.md --check",
"mdfix": "prettier *.md --write",
"cleanup": "rm -rf tests/**/node_modules coverage",
"precommit": "yarn lint && yarn test && yarn build && git add example/example.* LICENSE coverage.svg",
"prepublishOnly": "yarn lint && yarn test && yarn build",
"postversion": "git push && git push --tags",
"install_hooks": "husky install"
},
"type": "module",
"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"
}
}
},
"files": [
"dist",
"*.md"
],
"engines": {
"node": "^18.0.0 || ^20.0.0"
},
"dependencies": {
"openapi3-ts": "^4.2.1",
"ramda": "^0.29.1"
},
"peerDependencies": {
"@types/compression": "^1.7.5",
"@types/express": "^4.17.13",
"@types/express-fileupload": "^1.4.4",
"@types/http-errors": "^2.0.2",
"@types/jest": "*",
"@types/node": "*",
"compression": "^1.7.4",
"express": "^4.18.2",
"express-fileupload": "^1.4.3",
"http-errors": "^2.0.0",
"jest": ">=28 <30",
"prettier": "^3.1.0",
"typescript": "^5.1.3",
"vitest": ">=0.34.6 <2",
"winston": "^3.10.0",
"zod": "^3.22.3"
},
"peerDependenciesMeta": {
"@types/compression": {
"optional": true
},
"@types/express": {
"optional": true
},
"@types/express-fileupload": {
"optional": true
},
"@types/http-errors": {
"optional": true
},
"@types/node": {
"optional": true
},
"@types/jest": {
"optional": true
},
"compression": {
"optional": true
},
"express-fileupload": {
"optional": true
},
"jest": {
"optional": true
},
"prettier": {
"optional": true
},
"vitest": {
"optional": true
},
"winston": {
"optional": true
}
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.13.0",
"@tsconfig/node18": "^18.2.1",
"@types/compression": "^1.7.5",
"@types/cors": "^2.8.14",
"@types/express": "^4.17.17",
"@types/express-fileupload": "^1.4.4",
"@types/http-errors": "^2.0.2",
"@types/node": "^20.8.4",
"@types/ramda": "^0.29.3",
"@types/triple-beam": "^1.3.2",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"@vitest/coverage-istanbul": "^1.0.4",
"chalk": "^5.3.0",
"compression": "^1.7.4",
"cors": "^2.8.5",
"eslint": "^8.48.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-unicorn": "^50.0.1",
"express": "^4.18.2",
"express-fileupload": "^1.4.3",
"form-data": "^4.0.0",
"http-errors": "^2.0.0",
"husky": "^8.0.3",
"make-coverage-badge": "^1.2.0",
"mockdate": "^3.0.5",
"prettier": "3.2.4",
"tsd": "^0.30.0",
"tsup": "^8.0.0",
"tsx": "^4.6.2",
"typescript": "^5.2.2",
"vitest": "^1.0.4",
"winston": "^3.10.0",
"zod": "^3.22.3"
},
"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"
]
}