Shield external portal jumps (keep EXTERNAL_* for later), serve /nav from static build, and proxy /book + /community to vertical Next apps with Caddy notes. Co-authored-by: Cursor <cursoragent@cursor.com>
23 lines
681 B
JSON
23 lines
681 B
JSON
{
|
|
"name": "nomadmini",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "WeChat ebook mini program + FastAPI + admin",
|
|
"workspaces": [
|
|
"admin",
|
|
"miniapp",
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"dev:api": "cd backend && python -m uvicorn app.main:app --reload --host 0.0.0.0 --port 8000",
|
|
"dev:admin": "npm run dev -w nomadmini-admin",
|
|
"dev:miniapp": "npm run dev:weapp -w nomadmini-miniapp",
|
|
"build:admin": "npm run build -w nomadmini-admin",
|
|
"build:miniapp": "npm run build:weapp -w nomadmini-miniapp",
|
|
"install:all": "npm install && cd backend && python -m pip install -r requirements.txt"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
}
|
|
}
|