nextjs-swagger-autogen
Version:
Auto-generate Swagger documentation for Next.js API routes
62 lines (61 loc) • 1.45 kB
JSON
{
"name": "nextjs-swagger-autogen",
"version": "1.0.6",
"description": "Auto-generate Swagger documentation for Next.js API routes",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"prepublishOnly": "pnpm run build",
"test": "jest",
"lint": "eslint src --ext .ts,.tsx",
"clean": "rimraf dist"
},
"keywords": [
"nextjs",
"swagger",
"openapi",
"api-documentation",
"typescript",
"react",
"auto-generate"
],
"author": "blackd44",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/blackd44/nextjs-swagger-autogen.git"
},
"bugs": {
"url": "https://github.com/blackd44/nextjs-swagger-autogen/issues"
},
"homepage": "https://github.com/blackd44/nextjs-swagger-autogen#readme",
"peerDependencies": {
"next": ">=13.0.0",
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"dependencies": {
"swagger-ui-react": "^5.27.0"
},
"devDependencies": {
"@types/node": "^20.19.9",
"@types/react": "^18.3.23",
"@types/swagger-ui-react": "^4.19.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.57.1",
"jest": "^29.7.0",
"rimraf": "^5.0.10",
"typescript": "^5.8.3"
},
"engines": {
"node": ">=16.0.0"
}
}