vitepress-openapi
Version:
Generate VitePress API Documentation from OpenAPI Specification.
112 lines • 3.28 kB
JSON
{
"name": "vitepress-openapi",
"type": "module",
"version": "0.2.0",
"engines": {
"node": "^20.19.0 || ^22.13.0 || >=24.0.0"
},
"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",
"vitepress-plugin",
"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": "^14.2.1",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lucide-vue-next": "^1.0.0",
"markdown-it-link-attributes": "^4.0.1",
"reka-ui": "^2.9.5"
},
"devDependencies": {
"@antfu/eslint-config": "^8.1.1",
"@byjohann/vue-i18n": "^1.3.2",
"@playwright/test": "^1.59.1",
"@scalar/openapi-types": "^0.7.0",
"@scalar/snippetz": "^0.8.0",
"@scalar/types": "^0.8.0",
"@shikijs/langs": "^4.0.2",
"@shikijs/themes": "^4.0.2",
"@sindresorhus/slugify": "^3.0.0",
"@tailwindcss/vite": "^4.2.2",
"@trojs/openapi-dereference": "^2.0.4",
"@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": "^25.6.0",
"@vitejs/plugin-vue": "^6.0.5",
"allof-merge": "^0.6.8",
"confbox": "^0.2.4",
"destr": "^2.0.5",
"eslint": "^10.2.0",
"eslint-plugin-cypress": "^6.3.0",
"eslint-plugin-format": "^2.0.1",
"js-yaml": "^4.1.1",
"json-editor-vue": "^0.18.1",
"json-xml-parse": "^1.3.0",
"markdown-it": "^14.1.1",
"postcss": "^8.5.9",
"scule": "^1.3.0",
"shiki": "^4.0.2",
"tailwind-merge": "^3.5.0",
"tailwindcss": "^4.2.2",
"typescript": "^6.0.2",
"vite": "^8.0.8",
"vitepress": "^1.6.4",
"vitest": "^4.1.4",
"vue": "^3.5.32",
"vue-json-pretty": "^2.6.0",
"vue-tsc": "^3.2.6"
},
"resolutions": {
"@typescript-eslint/utils": "^8.58.1"
},
"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"
}
}