{
  "name": "@scalar/api-reference",
  "description": "Generate beautiful API references from OpenAPI 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": "packages/api-reference"
  },
  "keywords": [
    "component",
    "documentation",
    "openapi",
    "reference",
    "spec",
    "swagger",
    "vue",
    "vue3"
  ],
  "version": "1.48.0",
  "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"
    },
    "./components": {
      "import": "./dist/components/index.js",
      "types": "./dist/components/index.d.ts",
      "default": "./dist/components/index.js"
    },
    "./blocks": {
      "import": "./dist/blocks/index.js",
      "types": "./dist/blocks/index.d.ts",
      "default": "./dist/blocks/index.js"
    },
    "./hooks": {
      "import": "./dist/hooks/index.js",
      "types": "./dist/hooks/index.d.ts",
      "default": "./dist/hooks/index.js"
    },
    "./plugins": {
      "import": "./dist/plugins/index.js",
      "types": "./dist/plugins/index.d.ts",
      "default": "./dist/plugins/index.js"
    },
    "./features": {
      "import": "./dist/features/index.js",
      "types": "./dist/features/index.d.ts",
      "default": "./dist/features/index.js"
    },
    "./helpers": {
      "import": "./dist/helpers/index.js",
      "types": "./dist/helpers/index.d.ts",
      "default": "./dist/helpers/index.js"
    },
    "./style.css": "./dist/style.css",
    "./browser/standalone.js": "./dist/browser/standalone.js"
  },
  "files": [
    "dist",
    "!dist/webpack-stats.json",
    "CHANGELOG.md"
  ],
  "browser": "./dist/browser/standalone.js",
  "esm.sh": {
    "bundle": true
  },
  "dependencies": {
    "@headlessui/vue": "1.7.23",
    "@unhead/vue": "^2.1.4",
    "@vueuse/core": "13.9.0",
    "fuse.js": "^7.1.0",
    "github-slugger": "2.0.0",
    "microdiff": "^1.5.0",
    "nanoid": "^5.1.6",
    "vue": "^3.5.26",
    "@scalar/agent-chat": "0.9.0",
    "@scalar/code-highlight": "0.3.0",
    "@scalar/api-client": "2.33.0",
    "@scalar/components": "0.20.1",
    "@scalar/helpers": "0.3.0",
    "@scalar/icons": "0.6.0",
    "@scalar/oas-utils": "0.10.0",
    "@scalar/openapi-parser": "0.25.0",
    "@scalar/sidebar": "0.8.1",
    "@scalar/openapi-types": "0.6.0",
    "@scalar/snippetz": "0.7.0",
    "@scalar/themes": "0.15.0",
    "@scalar/types": "0.7.0",
    "@scalar/use-toasts": "0.10.0",
    "@scalar/use-hooks": "0.4.0",
    "@scalar/workspace-store": "0.37.0"
  },
  "devDependencies": {
    "@hono/node-server": "^1.19.7",
    "@playwright/test": "1.56.0",
    "@tailwindcss/vite": "^4.1.18",
    "@vitejs/plugin-vue": "^6.0.3",
    "@vue/server-renderer": "^3.5.26",
    "@vue/test-utils": "2.4.6",
    "hono": "4.11.10",
    "jsdom": "27.4.0",
    "react": "^19.2.3",
    "rollup-plugin-webpack-stats": "^0.2.5",
    "tailwindcss": "^4.1.18",
    "vite": "^7.3.1",
    "vite-plugin-banner": "^0.8.1",
    "vite-plugin-css-injected-by-js": "^3.5.2",
    "vitest": "4.0.16",
    "@scalar/build-tooling": "0.5.0",
    "@scalar/core": "0.4.0",
    "@scalar/react-renderer": "0.4.0",
    "@scalar/galaxy": "0.6.0"
  },
  "scripts": {
    "build": "pnpm build:default && pnpm build:standalone && pnpm types:build",
    "build:default": "vite build",
    "build:standalone": "vite build -c vite.standalone.config.ts",
    "dev": "vite",
    "dev:standalone": "vite -c vite.standalone.config.ts",
    "playground:components": "vite ./playground/components -c ./playground/components/vite.config.ts",
    "playground:esm": "vite ./playground/esm -c ./playground/esm/vite.config.ts",
    "playground:ssr": "cd ./playground/ssr && pnpm dev",
    "playground:vue": "vite ./playground/vue -c ./playground/vue/vite.config.ts",
    "preview": "vite preview",
    "test": "vitest",
    "test:benchmark": "vitest bench",
    "test:benchmark:compare": "vitest bench --compare test-results/test-benchmark.json",
    "test:benchmark:save": "vitest bench --outputJson test-results/test-benchmark.json",
    "test:e2e": "PW_TEST_CONNECT_WS_ENDPOINT=ws://127.0.0.1:5001/ playwright test",
    "test:e2e:cdn": "PW_TEST_CONNECT_WS_ENDPOINT=ws://127.0.0.1:5001/ TEST_MODE=CDN playwright test",
    "test:e2e:cdn:ci": "TEST_MODE=CDN playwright test",
    "test:e2e:ci": "playwright test",
    "test:e2e:update-snapshots": "pnpm test:e2e --update-snapshots",
    "types:build": "scalar-types-build-vue",
    "types:check": "scalar-types-check-vue"
  }
}