mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-22 19:15:08 +03:00
105 lines
2.8 KiB
JSON
105 lines
2.8 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Backend",
|
|
"type": "npm",
|
|
"script": "backend:run",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
},
|
|
"group": {
|
|
"kind": "build"
|
|
},
|
|
"isBackground": true
|
|
},
|
|
{
|
|
"label": "Frontend (Web)",
|
|
"type": "npm",
|
|
"script": "frontend:dev",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
},
|
|
"group": {
|
|
"kind": "build"
|
|
},
|
|
"isBackground": true
|
|
},
|
|
{
|
|
"label": "Frontend (Electron)",
|
|
"type": "npm",
|
|
"script": "frontend:electron:dev",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
},
|
|
"group": {
|
|
"kind": "build"
|
|
},
|
|
"isBackground": true
|
|
},
|
|
|
|
{
|
|
"label": "Web",
|
|
"dependsOn": ["Backend", "Frontend (Web)"],
|
|
"dependsOrder": "parallel",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
},
|
|
"runOptions": {
|
|
"runOn": "folderOpen"
|
|
}
|
|
},
|
|
{
|
|
"label": "Electron",
|
|
"dependsOn": ["Backend", "Frontend (Electron)"],
|
|
"dependsOrder": "parallel",
|
|
"group": {
|
|
"kind": "build"
|
|
},
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "Pre-commit checks",
|
|
"type": "shell",
|
|
"command": "npm run frontend:typecheck",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": true,
|
|
"panel": "dedicated",
|
|
"clear": true
|
|
},
|
|
"problemMatcher": "$tsc"
|
|
}
|
|
]
|
|
} |