UNPKG

@scalar/api-reference

Version:

Generate beautiful API references from OpenAPI documents

123 lines 4.08 kB
{ "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.36.0", "engines": { "node": ">=20" }, "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": "./dist/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 }, "module": "./dist/index.js", "dependencies": { "@floating-ui/vue": "1.1.9", "@headlessui/vue": "1.7.23", "@unhead/vue": "^1.11.20", "@vueuse/core": "13.9.0", "flatted": "^3.3.3", "fuse.js": "^7.1.0", "github-slugger": "^2.0.0", "js-base64": "^3.7.8", "microdiff": "^1.5.0", "nanoid": "5.1.5", "type-fest": "^4.41.0", "vue": "^3.5.17", "zod": "3.24.1", "@scalar/api-client": "2.5.35", "@scalar/components": "0.14.36", "@scalar/helpers": "0.0.11", "@scalar/code-highlight": "0.2.0", "@scalar/icons": "0.4.7", "@scalar/json-magic": "0.5.1", "@scalar/object-utils": "1.2.7", "@scalar/oas-utils": "0.4.31", "@scalar/openapi-parser": "0.21.1", "@scalar/openapi-types": "0.3.7", "@scalar/openapi-upgrader": "0.1.0", "@scalar/snippetz": "0.4.10", "@scalar/themes": "0.13.18", "@scalar/types": "0.2.16", "@scalar/use-hooks": "0.2.5", "@scalar/use-toasts": "0.8.0", "@scalar/workspace-store": "0.15.8" }, "devDependencies": { "@hono/node-server": "^1.11.0", "@playwright/test": "1.55.0", "@tailwindcss/vite": "^4.1.7", "@types/react": "^19.1.8", "@types/react-dom": "^19.1.6", "@vitejs/plugin-vue": "6.0.1", "@vue/server-renderer": "^3.5.17", "@vue/test-utils": "^2.4.1", "hono": "4.9.7", "react": "^19.1.0", "react-dom": "^19.1.0", "rollup-plugin-webpack-stats": "^0.2.5", "tailwindcss": "^4.1.7", "vite": "7.1.5", "vite-plugin-banner": "^0.7.1", "vite-plugin-css-injected-by-js": "^3.4.0", "vitest": "3.2.4", "@scalar/core": "0.3.17", "@scalar/build-tooling": "0.2.7", "@scalar/galaxy": "0.5.8", "@scalar/react-renderer": "0.2.1" }, "scripts": { "build": "pnpm build:default && pnpm build:standalone && pnpm types:build && 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", "lint:check": "scalar-lint-check", "lint:fix": "scalar-lint-fix", "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:e2e": "playwright test", "test:e2e:playwright": "docker run --network=host -e PORT=5001 -p 5001:5001 scalarapi/playwright:1.55.0", "test:e2e:report": "playwright show-report", "test:e2e:snapshots": "PW_TEST_CONNECT_WS_ENDPOINT=ws://127.0.0.1:5001/ playwright test -c playwright.snapshots.config.ts", "test:e2e:snapshots:ci": "playwright test -c playwright.snapshots.config.ts", "test:e2e:ui": "playwright test --ui", "types:build": "scalar-types-build-vue", "types:check": "scalar-types-check-vue" } }