UNPKG

trpc-openapi

Version:
75 lines (74 loc) 2.06 kB
{ "name": "trpc-openapi", "version": "1.2.0", "description": "tRPC OpenAPI", "author": "James Berry <jb@jamesbe.com>", "private": false, "license": "MIT", "keywords": [ "trpc", "openapi", "swagger" ], "homepage": "https://github.com/jlalmes/trpc-openapi", "repository": "github:jlalmes/trpc-openapi", "bugs": "https://github.com/jlalmes/trpc-openapi/issues", "main": "dist/index.js", "typings": "dist/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 && tsc -p tsconfig.build.json" }, "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", "openapi-types": "^12.1.1", "zod-to-json-schema": "^3.21.1" }, "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" } }