{
  "name": "@soft-chen/api-reference",
  "description": "Generate beautiful API references from OpenAPI documents",
  "license": "MIT",
  "author": "Kern (https://gitee.com/soft-chen)",
  "homepage": "https://gitee.com/soft-chen",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/soft-chen/api-reference.git",
    "directory": "."
  },
  "keywords": [
    "component",
    "documentation",
    "openapi",
    "reference",
    "spec",
    "swagger",
    "vue",
    "vue3"
  ],
  "version": "0.0.3",
  "engines": {
    "node": ">=22"
  },
  "scripts": {
    "build": "pnpm build:default && pnpm build:standalone && vue-tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
    "build:default": "vite build",
    "build:standalone": "vite build -c vite.standalone.config.ts",
    "dev": "vite",
    "dev:standalone": "vite -c vite.standalone.config.ts",
    "playground:esm": "vite ./playground/esm -c ./playground/esm/vite.config.ts",
    "prepack": "pnpm build",
    "preview": "vite preview",
    "test": "vitest --run",
    "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:check": "vue-tsc --noEmit",
    "playground:vue": "pnpm --filter @soft-chen/api-reference-playground dev",
    "playground:vue:dist": "pnpm build && pnpm --filter @soft-chen/api-reference-playground dev:dist"
  },
  "type": "module",
  "main": "./dist/index.js",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "default": "./dist/index.js"
    },
    "./components": {
      "types": "./dist/components/index.d.ts",
      "import": "./dist/components/index.js",
      "default": "./dist/components/index.js"
    },
    "./blocks": {
      "types": "./dist/blocks/index.d.ts",
      "import": "./dist/blocks/index.js",
      "default": "./dist/blocks/index.js"
    },
    "./hooks": {
      "types": "./dist/hooks/index.d.ts",
      "import": "./dist/hooks/index.js",
      "default": "./dist/hooks/index.js"
    },
    "./plugins": {
      "types": "./dist/plugins/index.d.ts",
      "import": "./dist/plugins/index.js",
      "default": "./dist/plugins/index.js"
    },
    "./plugins/posthog": {
      "types": "./dist/plugins/posthog/index.d.ts",
      "import": "./dist/plugins/posthog/index.js",
      "default": "./dist/plugins/posthog/index.js"
    },
    "./features": {
      "types": "./dist/features/index.d.ts",
      "import": "./dist/features/index.js",
      "default": "./dist/features/index.js"
    },
    "./helpers": {
      "types": "./dist/helpers/index.d.ts",
      "import": "./dist/helpers/index.js",
      "default": "./dist/helpers/index.js"
    },
    "./style.css": "./dist/style.css"
  },
  "files": [
    "dist",
    "!dist/webpack-stats.json",
    "CHANGELOG.md"
  ],
  "browser": "./dist/browser/standalone.js",
  "esm.sh": {
    "bundle": true
  },
  "dependencies": {
    "@headlessui/vue": "1.7.23",
    "@scalar/agent-chat": "0.10.4",
    "@scalar/api-client": "3.0.0",
    "@scalar/code-highlight": "0.3.3",
    "@scalar/components": "0.22.0",
    "@scalar/helpers": "0.5.0",
    "@scalar/icons": "0.7.2",
    "@scalar/oas-utils": "0.12.0",
    "@scalar/sidebar": "0.9.1",
    "@scalar/snippetz": "0.9.0",
    "@scalar/themes": "0.15.3",
    "@scalar/types": "0.9.0",
    "@scalar/use-hooks": "0.4.2",
    "@scalar/use-toasts": "0.10.1",
    "@scalar/workspace-store": "0.46.0",
    "@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.30",
    "yaml": "^2.8.0",
    "posthog-js": "^1.300.0"
  },
  "devDependencies": {
    "@types/node": "^22.17.0",
    "@hono/node-server": "^1.19.10",
    "@playwright/test": "1.56.0",
    "@scalar/core": "0.5.1",
    "@scalar/galaxy": "0.6.2",
    "@tailwindcss/vite": "^4.2.0",
    "@vitejs/plugin-vue": "^6.0.3",
    "@vue/server-renderer": "^3.5.30",
    "@vue/test-utils": "2.4.6",
    "hono": "^4.12.7",
    "jsdom": "27.4.0",
    "rollup-plugin-webpack-stats": "^0.2.5",
    "tailwindcss": "^4.1.18",
    "tsc-alias": "^1.8.16",
    "typescript": "^5.9.3",
    "vite": "8.0.0",
    "vite-plugin-banner": "^0.8.1",
    "vite-plugin-css-injected-by-js": "^3.5.2",
    "vitest": "4.1.0",
    "vue-tsc": "^3.1.2"
  },
  "directories": {
    "example": "examples",
    "test": "test"
  },
  "publishConfig": {
    "access": "public"
  }
}
