-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathpackage.json
More file actions
16 lines (16 loc) · 805 Bytes
/
Copy pathpackage.json
File metadata and controls
16 lines (16 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
"name": "dashwise-monorepo",
"private": true,
"packageManager": "bun@1.3.8",
"workspaces": ["apps/*", "packages/*"],
"scripts": {
"dev": "trap 'kill 0' SIGINT; bun run dev:backend & bun run dev:web & wait",
"dev:backend": "bun --cwd apps/backend --hot src/index.ts",
"dev:web": "cd apps/web && bunx dotenv-cli -e ../../.env -- bunx vite --host 0.0.0.0 --port 5173",
"generate:openapi": "bun scripts/generate-openapi-json.ts && bunx openapi-typescript apps/backend/openapi.yaml -o packages/api-types/src/openapi.ts",
"generate:api-sdk": "cd apps/web && bunx openapi-ts -f openapi-ts.config.ts",
"build": "bun run --workspaces --if-present build",
"lint": "bun run --workspaces --if-present lint",
"typecheck": "bun run --workspaces --if-present typecheck"
}
}