UNPKG

next-openapi-gen

Version:

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

80 lines (79 loc) 1.94 kB
{ "name": "next-openapi-gen", "version": "0.9.2", "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", "release": "np --no-cleanup --no-tests", "version": "conventional-changelog -p angular -i CHANGELOG.md -s -n .changelogrc.cjs && git add CHANGELOG.md" }, "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", "drizzle" ], "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", "js-yaml": "^4.1.0", "ora": "^8.2.0" }, "devDependencies": { "@types/js-yaml": "^4.0.9", "@types/node": "^24.3.0", "@vitest/ui": "^3.2.4", "conventional-changelog-cli": "^5.0.0", "np": "^10.2.0", "typescript": "^5.9.2", "vitest": "^3.2.4" }, "np": { "yarn": false, "anyBranch": false, "branch": "main", "cleanup": false, "tests": false, "2fa": false, "releaseDraft": false } }