🛠️ Update build and deployment scripts with new commands for frontend, backend, and Docker operations

This commit is contained in:
2026-01-29 13:49:55 +00:00
parent f476447357
commit af7155f483

View File

@@ -8,7 +8,10 @@
],
"scripts": {
"dev": "vite",
"build": "vite build",
"build": "npm run build:frontend && npm run build:backend",
"build:frontend": "vite build",
"build:backend": "npm run build --workspace=server",
"build:verify": "node scripts/verify-build.js",
"preview": "vite preview",
"oauth-proxy": "npm run dev --workspace=server",
"dev:full": "concurrently \"npm run dev\" \"npm run oauth-proxy\"",
@@ -16,7 +19,15 @@
"test:ui": "vitest --ui",
"test:coverage": "vitest --coverage",
"test:run": "vitest run",
"install:all": "npm install && npm install --workspace=server"
"test:all": "npm run test:run && npm run test:run --workspace=server",
"install:all": "npm install && npm install --workspace=server",
"lint": "echo 'Add ESLint when ready'",
"docker:build": "docker compose -f docker-compose.production.yml build",
"docker:up": "docker compose -f docker-compose.production.yml up -d",
"docker:down": "docker compose -f docker-compose.production.yml down",
"docker:logs": "docker compose -f docker-compose.production.yml logs -f",
"deploy:internal": "node ../../../utils/deploy-pokedex.js --target internal",
"deploy:external": "node ../../../utils/deploy-pokedex.js --target external"
},
"dependencies": {
"highlight.js": "^11.11.1",