🛠️ Add workspace configuration and update scripts for server management

This commit is contained in:
2026-01-28 22:19:13 +00:00
parent 6b2e5795bc
commit 1279cfaa4e

View File

@@ -3,23 +3,23 @@
"version": "1.0.0", "version": "1.0.0",
"type": "module", "type": "module",
"description": "A modern Vue 3 web application for exploring Pokémon data", "description": "A modern Vue 3 web application for exploring Pokémon data",
"workspaces": [
"server"
],
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "vite build", "build": "vite build",
"preview": "vite preview", "preview": "vite preview",
"oauth-proxy": "node server/oauth-proxy.js", "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\"",
"test": "vitest", "test": "vitest",
"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"
}, },
"dependencies": { "dependencies": {
"cors": "^2.8.5",
"dotenv": "^16.6.1",
"express": "^4.18.2",
"highlight.js": "^11.11.1", "highlight.js": "^11.11.1",
"node-fetch": "^3.3.2",
"vue": "^3.4.15", "vue": "^3.4.15",
"vue-router": "^4.6.4", "vue-router": "^4.6.4",
"vue-virtual-scroller": "^2.0.0-beta.8" "vue-virtual-scroller": "^2.0.0-beta.8"