- Add Spring Boot 3.4 backend with health API, CORS, and dev/prod profiles - Add React 18 + Vite frontend with typed health client - Configure NX workspace, pnpm, and Docker Compose stacks - Document stack, commands, and layout in README - Add .gitignore for Node, Java, Docker, and IDE artifacts
34 lines
No EOL
1.1 KiB
JSON
34 lines
No EOL
1.1 KiB
JSON
{
|
|
"name": "city-game",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"packageManager": "pnpm@10.33.2",
|
|
"scripts": {
|
|
"dev": "nx run-many -t serve --parallel --output-style=dynamic",
|
|
"dev:frontend": "nx run frontend:serve",
|
|
"dev:backend": "nx run backend:serve",
|
|
"build": "nx run-many -t build",
|
|
"build:frontend": "nx run frontend:build",
|
|
"build:backend": "nx run backend:build",
|
|
"docker:build": "nx run-many -t docker-build",
|
|
"docker:build:frontend": "nx run frontend:docker-build",
|
|
"docker:build:backend": "nx run backend:docker-build",
|
|
"start": "docker compose up",
|
|
"start:detach": "docker compose up -d",
|
|
"stop": "docker compose down",
|
|
"logs": "docker compose logs -f",
|
|
"test": "nx run-many -t test",
|
|
"test:frontend": "nx run frontend:test",
|
|
"test:backend": "nx run backend:test",
|
|
"graph": "nx graph",
|
|
"affected:test": "nx affected -t test",
|
|
"affected:build": "nx affected -t build"
|
|
},
|
|
"devDependencies": {
|
|
"@nx/js": "^22.7.5",
|
|
"@nx/react": "^22.7.5",
|
|
"@nx/vite": "^22.7.5",
|
|
"@nxrocks/nx-spring-boot": "^11.0.0",
|
|
"nx": "^22.7.5"
|
|
}
|
|
} |