-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
14 lines (14 loc) · 977 Bytes
/
Copy pathpackage.json
File metadata and controls
14 lines (14 loc) · 977 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
"name": "modgud-root",
"private": true,
"license": "Apache-2.0",
"description": "Root convenience scripts for building the Vue SPA and the in-app docs straight into the backend's wwwroot — used when you want `dotnet run` (no Docker) to serve a current frontend + docs.",
"scripts": {
"dev:landing": "cd src/landing-page && pnpm dev",
"build:landing": "cd src/landing-page && pnpm install --prefer-offline && pnpm build",
"build:frontend": "cd src/frontend-vue && pnpm install --prefer-offline && pnpm exec vite build --outDir ../dotnet/Modgud.Api/wwwroot --emptyOutDir",
"build:docs": "cd docs && pnpm install --prefer-offline && pnpm exec vitepress build --config .vitepress/config.in-app.ts --outDir ../src/dotnet/Modgud.Api/wwwroot/docs",
"build:backend": "pnpm run build:frontend && pnpm run build:docs",
"watch:frontend": "cd src/frontend-vue && pnpm exec vite build --outDir ../dotnet/Modgud.Api/wwwroot --emptyOutDir --watch"
}
}