{
  "name": "@scalar/fastify-api-reference",
  "description": "A Fastify plugin to render beautiful, interactive API documentation from OpenAPI/Swagger documents.",
  "license": "MIT",
  "author": "Scalar (https://github.com/scalar)",
  "homepage": "https://github.com/scalar/scalar",
  "bugs": "https://github.com/scalar/scalar/issues/new/choose",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/scalar/scalar.git",
    "directory": "integrations/fastify"
  },
  "keywords": [
    "api",
    "documentation",
    "fastify",
    "openapi",
    "swagger"
  ],
  "version": "1.73.0",
  "engines": {
    "node": ">=20"
  },
  "type": "module",
  "main": "dist/index.js",
  "module": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    }
  },
  "files": [
    "./dist",
    "CHANGELOG.md"
  ],
  "scalarReadme": {
    "title": "Scalar API Reference for Fastify",
    "badges": [
      {
        "type": "npm-version"
      },
      {
        "type": "npm-downloads"
      },
      {
        "type": "npm-license"
      }
    ],
    "documentation": "https://scalar.com/products/api-references/integrations/fastify"
  },
  "dependencies": {
    "@scalar/client-side-rendering": "0.4.9",
    "@scalar/openapi-parser": "0.29.11",
    "@scalar/openapi-types": "0.9.7",
    "fastify-plugin": "^4.5.1",
    "github-slugger": "2.0.0"
  },
  "devDependencies": {
    "@fastify/basic-auth": "^6.3.0",
    "@fastify/http-proxy": "^11.6.0",
    "@fastify/swagger": "^9.8.1",
    "@scalar/api-reference": "1.73.0",
    "@scalar/helpers": "0.16.1",
    "@types/node": "^24.1.0",
    "fastify": "^5.11.2",
    "typescript": "^5.8.3",
    "vite": "8.1.5",
    "vite-plugin-dts": "^4.3.0",
    "vitest": "4.1.10",
    "yaml": "^2.9.0"
  },
  "scripts": {
    "build": "pnpm types:check && vite build",
    "dev": "tsx watch playground/index.ts",
    "docker:build": "docker build --build-arg BASE_IMAGE=scalar-base -t fastify-api-reference -f Dockerfile .",
    "docker:run": "docker run -p 5053:5053 fastify-api-reference",
    "test": "vitest --run",
    "types:check": "tsgo --noEmit"
  }
}