2022-06-05 10:16:31 +00:00
|
|
|
{
|
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
|
|
|
{
|
|
|
|
"label": "Start full",
|
|
|
|
"dependsOn": [
|
|
|
|
"Start backend",
|
|
|
|
"Start frontend",
|
|
|
|
"Start postgres",
|
|
|
|
"Start shared"
|
|
|
|
],
|
|
|
|
"dependsOrder": "parallel",
|
|
|
|
"isBackground": true,
|
|
|
|
"group": "build"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "shell",
|
|
|
|
"label": "Start shared",
|
|
|
|
"command": "yarn start",
|
|
|
|
"options": {
|
2022-08-26 10:38:05 +00:00
|
|
|
"cwd": "${cwd}/shared",
|
|
|
|
"shell": {
|
|
|
|
"executable": "/bin/bash",
|
|
|
|
"args": ["-i", "-c"]
|
|
|
|
}
|
2022-06-05 10:16:31 +00:00
|
|
|
},
|
|
|
|
"group": "build"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "shell",
|
|
|
|
"label": "Start backend",
|
|
|
|
"command": "yarn start:dev",
|
|
|
|
"options": {
|
2022-08-26 10:38:05 +00:00
|
|
|
"cwd": "${cwd}/backend",
|
|
|
|
"shell": {
|
|
|
|
"executable": "/bin/bash",
|
|
|
|
"args": ["-i", "-c"]
|
|
|
|
}
|
2022-06-05 10:16:31 +00:00
|
|
|
},
|
|
|
|
"group": "build"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "shell",
|
|
|
|
"label": "Start frontend",
|
|
|
|
"command": "yarn watch",
|
|
|
|
"options": {
|
2022-08-26 10:38:05 +00:00
|
|
|
"cwd": "${cwd}/frontend",
|
|
|
|
"shell": {
|
|
|
|
"executable": "/bin/bash",
|
|
|
|
"args": ["-i", "-c"]
|
|
|
|
}
|
2022-06-05 10:16:31 +00:00
|
|
|
},
|
|
|
|
"group": "build"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "shell",
|
|
|
|
"label": "Start postgres",
|
2022-08-26 10:38:05 +00:00
|
|
|
"command": "yarn devdb:start",
|
2022-06-05 10:16:31 +00:00
|
|
|
"options": {
|
2022-08-26 10:38:05 +00:00
|
|
|
"cwd": "${cwd}",
|
|
|
|
"shell": {
|
|
|
|
"executable": "/bin/bash",
|
|
|
|
"args": ["-i", "-c"]
|
|
|
|
}
|
2022-06-05 10:16:31 +00:00
|
|
|
},
|
|
|
|
"group": "build"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|