23 lines
1 KiB
JSON
23 lines
1 KiB
JSON
{
|
|
"name": "vibe-proxy",
|
|
"private": true,
|
|
"packageManager": "pnpm@11.21.0",
|
|
"scripts": {
|
|
"dev": "concurrently --kill-others --names backend,frontend \"pnpm dev:backend\" \"pnpm dev:frontend\"",
|
|
"dev:backend": "cross-env MANAGEMENT_PASSWORD=dev go -C backend run ./cmd/server --config config.dev.yaml",
|
|
"dev:frontend": "pnpm --dir frontend dev",
|
|
"build": "pnpm build:frontend && pnpm build:backend",
|
|
"build:backend": "go -C backend build -tags frontend -o cli-proxy-api ./cmd/server",
|
|
"build:frontend": "pnpm --dir frontend exec tsc && pnpm --dir frontend exec vite build --outDir ../backend/internal/managementasset/dist --emptyOutDir",
|
|
"test": "pnpm test:frontend && pnpm test:backend",
|
|
"test:backend": "go -C backend test ./...",
|
|
"test:frontend": "pnpm --dir frontend test",
|
|
"lint": "pnpm --dir frontend lint",
|
|
"type-check": "pnpm --dir frontend type-check",
|
|
"check": "pnpm type-check && pnpm lint && pnpm test && pnpm build"
|
|
},
|
|
"devDependencies": {
|
|
"concurrently": "^9.2.1",
|
|
"cross-env": "^10.1.0"
|
|
}
|
|
}
|