@scalar/api-reference
Version:
Generate beautiful API references from OpenAPI documents
148 lines • 4.84 kB
JSON
{
"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.43.17",
"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"
},
"./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": "^1.11.20",
"@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/api-client": "2.21.1",
"@scalar/components": "0.16.32",
"@scalar/code-highlight": "0.2.2",
"@scalar/helpers": "0.2.9",
"@scalar/icons": "0.5.2",
"@scalar/oas-utils": "0.6.29",
"@scalar/openapi-parser": "0.24.5",
"@scalar/sidebar": "0.7.22",
"@scalar/snippetz": "0.6.8",
"@scalar/openapi-types": "0.5.3",
"@scalar/themes": "0.13.26",
"@scalar/types": "0.5.10",
"@scalar/use-toasts": "0.9.1",
"@scalar/workspace-store": "0.27.1",
"@scalar/use-hooks": "0.3.6"
},
"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.4",
"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.4.1",
"@scalar/core": "0.3.34",
"@scalar/galaxy": "0.5.12",
"@scalar/react-renderer": "0.3.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"
}
}