2023-07-17 09:54:40 +03:00
|
|
|
{
|
2023-07-17 15:14:05 +03:00
|
|
|
"image": "mcr.microsoft.com/devcontainers/javascript-node:dev-18-bookworm",
|
2023-07-17 09:54:40 +03:00
|
|
|
"features": {
|
|
|
|
"ghcr.io/devcontainers/features/github-cli:1": {}
|
|
|
|
},
|
|
|
|
"updateContentCommand": "npm ci",
|
|
|
|
"postCreateCommand": "",
|
|
|
|
"postAttachCommand": {
|
|
|
|
"frontend-dev": "npm run start-frontend-devcontainer",
|
|
|
|
"server-dev": "npm run start-server-dev",
|
|
|
|
"open-port": "gh codespace ports visibility 3001:public -c $CODESPACE_NAME"
|
|
|
|
},
|
|
|
|
"customizations": {
|
|
|
|
"vscode": {
|
|
|
|
"extensions": [
|
|
|
|
"streetsidesoftware.code-spell-checker",
|
2023-07-17 15:14:05 +03:00
|
|
|
"dbaeumer.vscode-eslint"
|
2023-07-17 09:54:40 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"forwardPorts": [3000, 3001]
|
|
|
|
}
|