- Created package.json for managing workspaces (frontend and backend) - Added scripts for development, build, testing, and Docker operations - Implemented kill-dev-processes.sh script to terminate development processes gracefully
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"name": "Fotodrucker Full Stack",
|
|
"build": {
|
|
"dockerfile": "Dockerfile"
|
|
},
|
|
"workspaceFolder": "/workspace",
|
|
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"ms-vscode.vscode-typescript-next",
|
|
"esbenp.prettier-vscode",
|
|
"ms-vscode.vscode-json",
|
|
"bradlc.vscode-tailwindcss",
|
|
"ms-vscode.vscode-eslint",
|
|
"ms-vscode-remote.remote-containers"
|
|
],
|
|
"settings": {
|
|
"typescript.preferences.includePackageJsonAutoImports": "auto",
|
|
"editor.formatOnSave": true,
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
}
|
|
}
|
|
},
|
|
"postCreateCommand": "cd backend && npm install && cd ../frontend && npm install",
|
|
"forwardPorts": [3000, 3001, 9229, 9230],
|
|
"portsAttributes": {
|
|
"3000": {
|
|
"label": "Frontend (React)",
|
|
"onAutoForward": "openBrowser"
|
|
},
|
|
"3001": {
|
|
"label": "Backend (Express)"
|
|
},
|
|
"9229": {
|
|
"label": "Backend Debug Port"
|
|
},
|
|
"9230": {
|
|
"label": "Frontend Debug Port"
|
|
}
|
|
}
|
|
}
|