47 lines
996 B
JSON
47 lines
996 B
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Start MongoDB",
|
|
"type": "shell",
|
|
"command": "docker compose --file=compose.dev.yml up --detach --wait mongodb",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Stop MongoDB",
|
|
"type": "shell",
|
|
"command": "docker compose --file=compose.dev.yml stop mongodb",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Start Angular",
|
|
"type": "shell",
|
|
"command": "bun run start -- --proxy-config proxy.conf.json",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/frontend"
|
|
},
|
|
"isBackground": true,
|
|
"problemMatcher": {
|
|
"owner": "angular",
|
|
"pattern": {
|
|
"regexp": "^$"
|
|
},
|
|
"background": {
|
|
"activeOnStart": true,
|
|
"beginsPattern": ".*",
|
|
"endsPattern": "^\\s*➜\\s+Local:\\s+http://localhost:4200/\\s*$"
|
|
}
|
|
},
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "dedicated"
|
|
}
|
|
}
|
|
]
|
|
} |