UNPKG

next-openapi-gen

Version:

Automatically generate OpenAPI 3.0 documentation from Next.js projects, with support for Zod schemas and TypeScript types.

64 lines (63 loc) 1.46 kB
{ "name": "next-openapi-gen", "version": "0.8.0", "description": "Automatically generate OpenAPI 3.0 documentation from Next.js projects, with support for Zod schemas and TypeScript types.", "type": "module", "main": "dist/index.js", "module": "dist/index.mjs", "typings": "dist/index.d.ts", "bin": { "next-openapi-gen": "./dist/index.js" }, "files": [ "dist" ], "scripts": { "clean": "rm -rf dist", "build": "npm run clean && tsc", "prepare": "npm run build", "test": "vitest run", "test:watch": "vitest", "test:ui": "vitest --ui", "test:coverage": "vitest run --coverage" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/tazo90/next-openapi-gen.git" }, "keywords": [ "nextjs", "openapi", "swagger", "typescript", "zod", "api-docs", "api", "docs", "react", "scalar", "redoc" ], "publishConfig": { "access": "public" }, "author": "Mariusz Winnik", "license": "MIT", "engines": { "node": ">=18.0.0" }, "dependencies": { "@babel/parser": "^7.28.3", "@babel/traverse": "^7.28.3", "@babel/types": "^7.28.2", "commander": "^14.0.0", "fs-extra": "^11.3.1", "ora": "^8.2.0" }, "devDependencies": { "@types/node": "^24.3.0", "@vitest/ui": "^3.2.4", "typescript": "^5.9.2", "vitest": "^3.2.4" } }