forked from trpc/trpc-openapi
-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
89 lines (89 loc) · 2.42 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
{
"name": "@lilyrose2798/trpc-openapi",
"version": "1.4.1",
"description": "tRPC OpenAPI",
"author": "LilyRose2798 <lily@rose.place>",
"private": false,
"license": "MIT",
"keywords": [
"trpc",
"openapi",
"swagger"
],
"homepage": "https://github.com/lilyrose2798/trpc-openapi",
"repository": "github:lilyrose2798/trpc-openapi",
"bugs": "https://github.com/lilyrose2798/trpc-openapi/issues",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.mjs",
"typings": "dist/cjs/index.d.ts",
"files": [
"dist/cjs",
"dist/esm"
],
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.mjs",
"types": "./dist/cjs/index.d.ts"
}
},
"workspaces": [
".",
"examples/with-nextjs",
"examples/with-express",
"examples/with-interop",
"examples/with-serverless",
"examples/with-fastify",
"examples/with-nuxtjs"
],
"scripts": {
"test": "tsc --noEmit && jest --verbose",
"build": "rimraf dist && npm run build:cjs && npm run build:esm",
"build:cjs": "tsc -p tsconfig.build.cjs.json",
"build:esm": "tsc -p tsconfig.build.esm.json",
"postbuild": "node rename.js"
},
"peerDependencies": {
"@trpc/server": "^10.0.0",
"zod": "^3.14.4"
},
"dependencies": {
"co-body": "^6.1.0",
"h3": "^1.6.4",
"lodash.clonedeep": "^4.5.0",
"node-mocks-http": "^1.12.2",
"openapi3-ts": "^4.1.2",
"zod-openapi": "^2.10.0"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@trpc/client": "^10.27.1",
"@types/aws-lambda": "^8.10.115",
"@types/co-body": "^6.1.0",
"@types/express": "^4.17.17",
"@types/jest": "^29.5.1",
"@types/lodash.clonedeep": "^4.5.7",
"@types/node": "^20.2.3",
"@types/node-fetch": "^2.6.4",
"@typescript-eslint/eslint-plugin": "^5.59.7",
"@typescript-eslint/parser": "^5.59.7",
"aws-lambda": "^1.0.7",
"eslint": "^8.41.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"express": "^4.18.2",
"fastify": "^4.17.0",
"jest": "^29.5.0",
"next": "^13.4.3",
"node-fetch": "^2.6.11",
"openapi-schema-validator": "^12.1.1",
"prettier": "^2.8.8",
"rimraf": "^5.0.1",
"superjson": "^1.12.3",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
}
}