{
  "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.40.9",
  "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"
  ],
  "readme": {
    "title": "Scalar API Reference for Fastify",
    "badges": [
      {
        "type": "npm-version"
      },
      {
        "type": "npm-downloads"
      },
      {
        "type": "npm-license"
      }
    ],
    "documentation": "https://guides.scalar.com/scalar/scalar-api-references/integrations/fastify"
  },
  "dependencies": {
    "fastify-plugin": "^4.5.1",
    "github-slugger": "^2.0.0",
    "@scalar/core": "0.3.28",
    "@scalar/openapi-parser": "0.23.9",
    "@scalar/openapi-types": "0.5.3"
  },
  "devDependencies": {
    "@fastify/basic-auth": "^5.1.1",
    "@fastify/http-proxy": "^9.0.0",
    "@fastify/swagger": "^8.10.1",
    "fastify": "^4.26.2",
    "vite": "7.1.11",
    "vitest": "3.2.4",
    "yaml": "^2.8.0",
    "@scalar/api-reference": "1.40.9",
    "@scalar/build-tooling": "0.4.0"
  },
  "scripts": {
    "build": "scalar-build-esbuild && pnpm copy:standalone",
    "copy:standalone": "shx mkdir -p ./dist/js && shx cp ../../packages/api-reference/dist/browser/standalone.js ./dist/js/standalone.js",
    "dev": "nodemon --exec \"vite-node playground/index.ts\" --ext ts --quiet --watch ./",
    "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",
    "format": "scalar-format",
    "format:check": "scalar-format-check",
    "lint:check": "scalar-lint-check",
    "lint:fix": "scalar-lint-fix",
    "test": "vitest",
    "types:build": "scalar-types-build",
    "types:check": "scalar-types-check"
  }
}