UNPKG

fastify-zod-openapi

Version:
102 lines (101 loc) 2.4 kB
{ "name": "fastify-zod-openapi", "version": "5.2.0", "description": "Fastify plugin for zod-openapi", "keywords": [ "typescript", "json-schema", "swagger", "openapi", "openapi3", "zod", "zod-openapi", "fastify", "plugin", "type", "provider" ], "homepage": "https://github.com/samchungy/fastify-zod-openapi#readme", "bugs": { "url": "https://github.com/samchungy/fastify-zod-openapi/issues" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/samchungy/fastify-zod-openapi.git" }, "license": "MIT", "sideEffects": false, "exports": { ".": { "types": { "import": "./dist/index.d.mts", "require": "./dist/index.d.ts" }, "import": "./dist/index.mjs", "require": "./dist/index.cjs" }, "./package.json": "./package.json" }, "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "files": [ "dist" ], "scripts": { "build": "crackle package", "format": "skuba format", "lint": "skuba lint", "prepare": "pnpm build", "start": "skuba node --port=5678 examples/openapi.ts", "test": "skuba test", "test:ci": "skuba test --coverage", "test:watch": "skuba test --watch" }, "dependencies": { "@fastify/error": "^4.0.0", "fast-json-stringify": "^6.0.0", "fastify-plugin": "^5.0.0", "zod-openapi": "^5.1.0" }, "devDependencies": { "@crackle/cli": "0.15.5", "@fastify/swagger": "9.5.1", "@fastify/swagger-ui": "5.2.3", "@fastify/under-pressure": "9.0.3", "@types/node": "24.0.10", "eslint-plugin-import-zod": "1.1.0", "eslint-plugin-zod-openapi": "2.0.0", "fastify": "5.4.0", "skuba": "11.0.1", "zod": "4.0.1" }, "peerDependencies": { "@fastify/swagger": "^9.0.0", "@fastify/swagger-ui": "^5.0.1", "fastify": "5", "zod": "^3.25.74 || ^4.0.0" }, "peerDependenciesMeta": { "@fastify/swagger": { "optional": true }, "@fastify/swagger-ui": { "optional": true } }, "packageManager": "pnpm@10.12.4", "engines": { "node": ">=20" }, "publishConfig": { "provenance": true, "registry": "https://registry.npmjs.org/" }, "skuba": { "entryPoint": "src/index.ts", "template": "oss-npm-package", "type": "package", "version": "11.0.1" } }