{
  "name": "next-openapi-gen",
  "version": "1.7.0",
  "description": "Automatically generate OpenAPI 3.0, 3.1, and 3.2 documentation from Next.js projects, with support for Zod schemas, TypeScript types, and reusable OpenAPI fragments.",
  "keywords": [
    "api",
    "api-docs",
    "docs",
    "drizzle",
    "nextjs",
    "openapi",
    "react",
    "redoc",
    "scalar",
    "swagger",
    "typescript",
    "zod"
  ],
  "license": "MIT",
  "author": "Mariusz Winnik",
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/tazo90/next-openapi-gen.git"
  },
  "bin": {
    "next-openapi-gen": "./bin/cli.mjs",
    "openapi-gen": "./bin/cli.mjs"
  },
  "files": [
    "bin",
    "dist",
    "templates",
    "README.md"
  ],
  "type": "module",
  "main": "dist/index.js",
  "module": "dist/index.js",
  "typings": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    },
    "./next": {
      "types": "./dist/next/index.d.ts",
      "default": "./dist/next/index.js"
    },
    "./react-router": {
      "types": "./dist/react-router/index.d.ts",
      "default": "./dist/react-router/index.js"
    },
    "./vite": {
      "types": "./dist/vite/index.d.ts",
      "default": "./dist/vite/index.js"
    },
    "./package.json": "./package.json"
  },
  "publishConfig": {
    "access": "public"
  },
  "dependencies": {
    "@babel/parser": "^7.29.7",
    "@babel/traverse": "^7.29.7",
    "@babel/types": "^7.29.7",
    "commander": "^15.0.0",
    "fs-extra": "^11.3.5",
    "js-yaml": "^5.1.0",
    "ora": "^9.4.1",
    "typescript": "npm:@typescript/typescript6@6.0.2"
  },
  "devDependencies": {
    "@types/node": "^26.0.1",
    "conventional-changelog-cli": "^5.0.0",
    "np": "^11.2.1",
    "oxfmt": "^0.56.0",
    "oxlint": "^1.71.0",
    "tsup": "^8.5.1"
  },
  "peerDependencies": {
    "typescript": ">=5.9 <8"
  },
  "peerDependenciesMeta": {
    "typescript": {
      "optional": true
    }
  },
  "engines": {
    "node": ">=24.0.0"
  },
  "np": {
    "packageManager": "pnpm",
    "anyBranch": false,
    "branch": "main",
    "cleanup": false,
    "tests": false,
    "2fa": false,
    "releaseDraft": false
  },
  "scripts": {
    "build": "pnpm clean && tsup --config tsup.config.ts && cp -R ../openapi-init/templates ./templates",
    "check": "pnpm format:check && pnpm lint",
    "clean": "rm -rf dist coverage templates tsconfig.tsbuildinfo",
    "format": "oxfmt --config ../../oxfmt.config.ts --ignore-path ../../.gitignore .",
    "format:check": "oxfmt --config ../../oxfmt.config.ts --ignore-path ../../.gitignore --check .",
    "lint": "oxlint --type-aware --config ../../oxlint.config.ts . --ignore-path ../../.gitignore --deny-warnings",
    "lint:fix": "oxlint --type-aware --config ../../oxlint.config.ts . --ignore-path ../../.gitignore --fix --deny-warnings",
    "release": "np --no-cleanup --no-tests --no-publish",
    "test": "pnpm --dir ../.. test:unit && pnpm --dir ../.. test:integration",
    "test:coverage": "pnpm --dir ../.. test:coverage:next-openapi-gen",
    "typecheck": "tsc --noEmit",
    "version": "conventional-changelog -p angular -i ../../CHANGELOG.md -s -n ../../.changelogrc.cjs && git add ../../CHANGELOG.md"
  }
}