UNPKG

vitepress-openapi

Version:

Generate VitePress API Documentation from OpenAPI Specification.

109 lines 3.23 kB
{ "name": "vitepress-openapi", "type": "module", "version": "0.1.8", "homepage": "https://vitepress-openapi.vercel.app/", "repository": { "type": "git", "url": "git+https://github.com/enzonotario/vitepress-openapi.git" }, "author": "Enzo Notario <hi@enzonotario.me>", "license": "MIT", "keywords": [ "vitepress", "vitepress-theme", "openapi" ], "exports": { ".": { "types": "./dist/types/src/index.d.ts", "import": "./dist/vitepress-openapi.node.es.js" }, "./client": { "types": "./dist/types/src/client.d.ts", "import": "./dist/vitepress-openapi.client.es.js" }, "./dist/style.css": "./dist/vitepress-openapi.css" }, "main": "./dist/vitepress-openapi.node.es.js", "module": "./dist/vitepress-openapi.node.es.js", "types": "./dist/types/src/index.d.ts", "files": [ "dist", "src" ], "peerDependencies": { "vitepress": ">=1.0.0", "vue": "^3.0.0" }, "dependencies": { "@vueuse/core": "^13.1.0", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "lucide-vue-next": "^0.503.0", "markdown-it-link-attributes": "^4.0.1", "reka-ui": "^2.2.0" }, "devDependencies": { "@antfu/eslint-config": "^4.12.0", "@byjohann/vue-i18n": "^1.3.1", "@playwright/test": "^1.52.0", "@scalar/openapi-types": "^0.2.1", "@scalar/snippetz": "^0.2.19", "@scalar/types": "^0.1.11", "@shikijs/langs": "^3.3.0", "@shikijs/themes": "^3.3.0", "@sindresorhus/slugify": "^2.2.1", "@trojs/openapi-dereference": "^1.1.0", "@tszen/trycatch": "^0.1.0", "@types/har-format": "^1.2.16", "@types/js-yaml": "^4.0.9", "@types/markdown-it": "^14.1.2", "@types/markdown-it-link-attributes": "^3.0.5", "@types/node": "^22.15.2", "@vitejs/plugin-vue": "^5.2.3", "allof-merge": "^0.6.6", "autoprefixer": "^10.4.21", "confbox": "^0.2.2", "destr": "^2.0.5", "eslint": "^9.25.1", "eslint-plugin-cypress": "^4.3.0", "eslint-plugin-format": "^1.0.1", "js-yaml": "^4.1.0", "json-editor-vue": "^0.18.1", "json-xml-parse": "^1.3.0", "markdown-it": "^14.1.0", "postcss": "^8.5.3", "scule": "^1.3.0", "shiki": "^3.3.0", "tailwind-merge": "^3.2.0", "tailwindcss": "^3.4.17", "tailwindcss-animate": "^1.0.7", "typescript": "^5.8.3", "vite": "^6.3.3", "vitepress": "^1.6.3", "vitest": "^3.1.2", "vue": "^3.5.13", "vue-json-pretty": "^2.4.0", "vue-tsc": "^2.2.10" }, "resolutions": { "@typescript-eslint/utils": "^8.31.0" }, "scripts": { "build": "vite build", "build-watch": "vite build --watch", "postbuild": "vue-tsc --emitDeclarationOnly", "lint": "eslint src", "lint:fix": "eslint src --fix", "dev": "cd docs && VITE_DEBUG=1 pnpm run dev", "docs:build": "pnpm run build && cd docs && pnpm run build", "test": "vitest", "test:run": "vitest --run", "typecheck": "vue-tsc --noEmit", "e2e:local:dev": "cd e2e/local/dev && vitepress dev docs --port 4173", "e2e:local:test": "playwright test local", "e2e:update-snapshots": "node scripts/update-snapshots.js", "e2e:staging:test": "playwright test staging" } }