Add VitePress site with local login and deployment docs
Enable static site build on port 12100 with Express session auth, auto sidebar, and DEPLOY.md for Ubuntu/NPS setup. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "dao-de-jing-site",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"docs:dev": "vitepress dev --host 0.0.0.0 --port 5173",
|
||||
"docs:build": "node scripts/prepare-public.mjs && vitepress build",
|
||||
"docs:preview": "vitepress preview --host 0.0.0.0 --port 5173",
|
||||
"build": "node scripts/prepare-public.mjs && vitepress build",
|
||||
"start": "node server/index.js",
|
||||
"serve": "npm run build && npm run start"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vitepress": "^1.6.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"cookie-parser": "^1.4.7",
|
||||
"express": "^4.21.2",
|
||||
"express-session": "^1.18.1"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user