🛠️ Update build and deployment scripts with new commands for frontend, backend, and Docker operations
This commit is contained in:
@@ -8,7 +8,10 @@
|
|||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"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",
|
"preview": "vite preview",
|
||||||
"oauth-proxy": "npm run dev --workspace=server",
|
"oauth-proxy": "npm run dev --workspace=server",
|
||||||
"dev:full": "concurrently \"npm run dev\" \"npm run oauth-proxy\"",
|
"dev:full": "concurrently \"npm run dev\" \"npm run oauth-proxy\"",
|
||||||
@@ -16,7 +19,15 @@
|
|||||||
"test:ui": "vitest --ui",
|
"test:ui": "vitest --ui",
|
||||||
"test:coverage": "vitest --coverage",
|
"test:coverage": "vitest --coverage",
|
||||||
"test:run": "vitest run",
|
"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": {
|
"dependencies": {
|
||||||
"highlight.js": "^11.11.1",
|
"highlight.js": "^11.11.1",
|
||||||
|
|||||||
Reference in New Issue
Block a user