UNPKG

@trpc/openapi

Version:

OpenAPI document generator for tRPC routers

117 lines (116 loc) 2.66 kB
{ "name": "@trpc/openapi", "type": "module", "sideEffects": false, "version": "11.16.1-canary.6+d3c4051f0", "description": "OpenAPI document generator for tRPC routers", "author": "KATT", "license": "MIT", "bin": { "trpc-openapi": "./dist/cli.js", "intent": "./bin/intent.js" }, "homepage": "https://trpc.io", "repository": { "type": "git", "url": "git+https://github.com/trpc/trpc.git", "directory": "packages/openapi" }, "eslintConfig": { "rules": { "no-restricted-imports": [ "error", "@trpc/openapi" ] } }, "scripts": { "build": "tsdown", "dev": "tsdown --watch", "lint": "eslint --cache src", "codegen": "tsx test/scripts/codegen.run.ts", "typecheck": "tsc --noEmit --preserveWatchOutput --pretty" }, "exports": { "./package.json": "./package.json", ".": { "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } }, "./heyapi": { "import": { "types": "./dist/heyapi/index.d.mts", "default": "./dist/heyapi/index.mjs" }, "require": { "types": "./dist/heyapi/index.d.cts", "default": "./dist/heyapi/index.cjs" } } }, "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.cts", "files": [ "dist", "src", "README.md", "package.json", "!**/*.test.*", "!**/__tests__", "!test", "heyapi", "skills", "bin", "!skills/_artifacts" ], "publishConfig": { "access": "public" }, "dependencies": { "openapi-types": "^12.1.3" }, "devDependencies": { "@hey-api/openapi-ts": "^0.94.5", "@swagger-api/apidom-ls": "^1.6.0", "@tanstack/intent": "^0.0.23", "@trpc/server": "11.16.1", "@types/node": "^22.13.5", "bson": "^7.2.0", "eslint": "^9.26.0", "ion-js": "^5.2.1", "superjson": "^1.12.4", "tsdown": "0.12.7", "typescript": "^5.9.2", "vscode-languageserver-textdocument": "^1.0.12", "vscode-languageserver-types": "^3.17.5", "zod": "^4.2.1" }, "peerDependencies": { "@hey-api/openapi-ts": ">=0.94.5", "@trpc/server": "11.16.1", "typescript": ">=5.7.2", "zod": ">=4.0.0" }, "peerDependenciesMeta": { "@hey-api/openapi-ts": { "optional": true }, "zod": { "optional": true } }, "funding": [ "https://trpc.io/sponsor" ], "keywords": [ "tanstack-intent" ], "gitHead": "d3c4051f03d0ca1f31177cadc10adff21c9048b8" }