{
  "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.57.5",
  "engines": {
    "node": ">=22"
  },
  "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"
  ],
  "readme": {
    "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": {
    "fastify-plugin": "^4.5.1",
    "github-slugger": "2.0.0",
    "@scalar/client-side-rendering": "0.1.12",
    "@scalar/openapi-types": "0.9.0",
    "@scalar/openapi-parser": "0.28.5"
  },
  "devDependencies": {
    "@fastify/basic-auth": "^5.1.1",
    "@fastify/http-proxy": "^9.5.0",
    "@fastify/swagger": "^8.10.1",
    "fastify": "^4.0.0",
    "vite": "8.0.0",
    "vitest": "4.1.0",
    "yaml": "^2.8.3",
    "@scalar/api-reference": "1.57.5",
    "@scalar/helpers": "0.8.0"
  },
  "scripts": {
    "build": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json && pnpm copy:standalone",
    "copy:standalone": "shx mkdir -p ./dist/js && shx cp ../../packages/api-reference/dist/browser/standalone.js ./dist/js/standalone.js",
    "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": "tsc --noEmit"
  }
}