UNPKG

nuxt-openapi-docs-module

Version:

A module for Nuxt.js to generate pages from OpenAPI specifications

113 lines (112 loc) 3.42 kB
{ "name": "nuxt-openapi-docs-module", "version": "5.3.1", "description": "A module for Nuxt.js to generate pages from OpenAPI specifications", "homepage": "https://github.com/on-org/nuxt-openapi-docs-module#readme", "scripts": { "postinstall": "nuxi prepare", "prepack": "nuxt-module-build build", "dev": "nuxi dev playground --port 3003", "dev:build": "nuxi build playground", "dev:start": "nuxi start playground", "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground", "generate": "nuxi generate playground", "docs": "rm -rf playground/.output && npm run generate && rm -rf docs && mv playground/.output/public docs && touch docs/.nojekyll && rm -rf playground/.output playground/dist && git add docs", "release": "npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags", "lint": "eslint .", "sass:convert": "sass -w src/runtime/styles.scss src/runtime/styles.css", "cleanup": "rm -rf node_modules package-lock.json dist generate .nuxt playground/.nuxt playground/node_modules playground/package-lock.json playground2/.nuxt playground2/node_modules playground2/package-lock.json", "prepublish": "npm run prepack", "test": "playwright test" }, "keywords": [ "nuxt", "openapi", "docs", "panel", "admin", "indo", "generator", "nuxt2", "nuxt3" ], "repository": { "type": "git", "url": "git+https://github.com/on-org/nuxt-openapi-docs-module.git" }, "bugs": { "url": "https://github.com/on-org/nuxt-openapi-docs-module/issues" }, "files": [ "/dist", "/README.md" ], "license": "MIT", "type": "module", "exports": { ".": { "types": "./dist/types.d.ts", "import": "./dist/module.mjs", "require": "./dist/module.cjs" } }, "main": "./dist/module.cjs", "types": "./dist/types.d.ts", "dependencies": { "@nuxt/kit": "^3.13.1", "allof-merge": "^0.6.6", "chokidar": "^3.6.0", "h3": "^1.11.1", "highlight.js": "^11.9.0", "isomorphic-dompurify": "^2.12.0", "js-yaml": "^4.1.0", "json-crawl": "^0.5.3", "lodash": "^4.17.21", "marked": "^12.0.2", "marked-highlight": "^2.1.3", "mitt": "^3.0.1", "node-watch": "^0.7.4", "request-templater": "^1.3.3", "scule": "^1.3.0", "sync-fetch": "^0.5.2", "unstorage": "^1.10.2" }, "devDependencies": { "@nuxt/eslint-config": "^0.3.13", "@nuxt/module-builder": "^0.8.3", "@nuxt/schema": "^3.13.1", "@nuxt/test-utils": "^3.14.1", "@playwright/test": "^1.46.1", "@types/js-yaml": "^4.0.9", "@types/lodash.template": "^4.5.3", "@types/sync-fetch": "^0.4.3", "autoprefixer": "^10.4.19", "changelogen": "^0.5.5", "eslint": "^8.57.0", "flowbite": "^2.4.1", "nuxi": "^3.13.1", "nuxt": "^3.13.1", "playwright": "^1.45.1", "postcss": "^8.4.39", "sass": "^1.77.6", "vitest": "^1.6.0", "vue-tsc": "^2.0.19" }, "peerDependenciesMeta": { "nuxt": { "optional": true }, "vue": { "optional": true } }, "peerDependencies": { "nuxt": "^2.16.1 || ^3.0.1", "vue": "^2.6.1 || ^3.0.1" }, "workspaces": [ "playground", "test/fixtures/*" ], "packageManager": "yarn@3.7.0+sha256.7bf0c78a106332886ea4e59641fd819b1af953edcd72c4d93a32b1c71000ee67" }