31 lines
920 B
JSON
31 lines
920 B
JSON
{
|
|
"name": "docs",
|
|
"version": "2.0.0",
|
|
"description": "Artalk documentation",
|
|
"type": "module",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/ArtalkJS/Artalk",
|
|
"directory": "docs"
|
|
},
|
|
"private": true,
|
|
"scripts": {
|
|
"docs:dev": "vitepress dev",
|
|
"docs:build": "pnpm swagger:build && vitepress build && pnpm landing:build",
|
|
"docs:serve": "vitepress serve",
|
|
"landing:build": "pnpm -C ./landing --frozen-lockfile i && pnpm -C ./landing build && pnpm landing:merge",
|
|
"landing:merge": "cp -rf ./landing/dist/* ./.vitepress/dist",
|
|
"swagger:build": "npx @redocly/cli build-docs --output public/http-api.html",
|
|
"swagger:serve": "npx @redocly/cli preview-docs"
|
|
},
|
|
"devDependencies": {
|
|
"@redocly/cli": "1.1.0",
|
|
"markdown-it-for-inline": "^0.1.1",
|
|
"sass": "^1.67.0",
|
|
"vitepress": "1.0.0-rc.14"
|
|
},
|
|
"dependencies": {
|
|
"artalk": "^2.7.0"
|
|
}
|
|
}
|