0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-23 20:33:16 -05:00
logto/packages/docs/package.json
IceHe.xyz 00e32f08da
docs: api reference (#1048)
* docs: api reference

* chore(docs): add peer denpendencies for redoc-cli
2022-06-07 08:01:07 +00:00

51 lines
1.6 KiB
JSON

{
"name": "@logto/docs",
"version": "0.0.0",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
"start": "pnpm build:api && docusaurus start",
"build": "pnpm build:api && docusaurus build",
"build:api": "redoc-cli build https://logto.dev/api/swagger.json -o static/api/index.html --title 'Logto Core API Reference'",
"swizzle": "docusaurus swizzle",
"deploy": "pnpm build:api && docusaurus deploy",
"clear": "rm static/api/index.html && docusaurus clear",
"serve": "docusaurus serve",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
"typecheck": "tsc"
},
"devDependencies": {
"@algolia/client-search": "^4.13.0",
"@docusaurus/core": "2.0.0-beta.21",
"@docusaurus/preset-classic": "2.0.0-beta.21",
"@docusaurus/theme-classic": "^2.0.0-beta.18",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.1.1",
"prism-react-renderer": "^1.3.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"@docusaurus/module-type-aliases": "2.0.0-beta.21",
"@docusaurus/types": "^2.0.0-beta.18",
"@tsconfig/docusaurus": "^1.0.5",
"@types/node": "^17.0.23",
"@types/react": "^17.0.14",
"typescript": "^4.6.3",
"redoc-cli": "^0.13.16",
"react-is": "^16.8.0",
"webpack": "^5.0.0",
"core-js": "^3.1.4"
},
"browserslist": {
"production": [
">0.5%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}