forked from LilyRose2798/trpc-openapi
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpackage.json
90 lines (90 loc) · 2.4 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
{
"name": "trpc-to-openapi",
"version": "2.1.3",
"description": "tRPC OpenAPI",
"author": "mcampa",
"private": false,
"license": "MIT",
"keywords": [
"trpc",
"openapi",
"swagger"
],
"homepage": "https://github.com/mcampa/trpc-to-openapi",
"repository": "github:mcampa/trpc-to-openapi",
"bugs": "https://github.com/mcampa/trpc-to-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-appdir",
"examples/with-nextjs",
"examples/with-express",
"examples/with-interop",
"examples/with-serverless",
"examples/with-fastify",
"examples/with-nuxtjs"
],
"scripts": {
"t": "jest",
"test": "tsc --noEmit && jest --verbose",
"lint": "eslint . --ext .ts",
"lint-fix": "eslint . --ext .ts --fix",
"format": "prettier --write ./src ./test ./examples",
"build": "npm test && 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": "^11.0.0-rc.648",
"zod": "^3.23.8",
"zod-openapi": "^4.1.0"
},
"dependencies": {
"co-body": "^6.1.0",
"h3": "^1.6.4",
"openapi3-ts": "4.4.0"
},
"devDependencies": {
"@trpc/client": "^11.0.0-rc.648",
"@types/aws-lambda": "^8.10.115",
"@types/co-body": "^6.1.0",
"@types/express": "^4.17.17",
"@types/jest": "^29.5.1",
"@types/node": "^20.2.3",
"@types/node-fetch": "^2.6.4",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"eslint": "^8.57.0",
"express": "^4.18.2",
"fastify": "^5.1.0",
"jest": "^29.5.0",
"next": "^14.2.10",
"node-mocks-http": "^1.12.2",
"node-fetch": "^2.6.11",
"openapi-schema-validator": "^12.1.1",
"prettier": "^3.4.1",
"formatter-for-jest-snapshots": "npm:prettier@^2",
"rimraf": "^6.0.1",
"superjson": "^1.12.3",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typescript": "5.7.2"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "4.6.1"
}
}