{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "Backend: Install",
      "type": "npm",
      "script": "install",
      "path": "backend",
      "problemMatcher": []
    },
    {
      "label": "Backend: Dev",
      "type": "npm",
      "script": "start:dev",
      "path": "backend",
      "isBackground": true,
      "problemMatcher": {
        "pattern": {
          "regexp": "^(.*)$"
        },
        "background": {
          "activeOnStart": true,
          "beginsPattern": "Starting compilation",
          "endsPattern": "Nest application successfully started"
        }
      }
    },
    {
      "label": "Frontend: Install",
      "type": "npm",
      "script": "install",
      "path": "frontend",
      "problemMatcher": []
    },
    {
      "label": "Frontend: Dev",
      "type": "npm",
      "script": "dev",
      "path": "frontend",
      "isBackground": true,
      "problemMatcher": {
        "pattern": {
          "regexp": "^(.*)$"
        },
        "background": {
          "activeOnStart": true,
          "beginsPattern": "Starting",
          "endsPattern": "Ready"
        }
      }
    },
    {
      "label": "Full Stack: Dev",
      "dependsOn": ["Backend: Dev", "Frontend: Dev"],
      "dependsOrder": "parallel",
      "problemMatcher": []
    },
    {
      "label": "Install All",
      "dependsOn": ["Backend: Install", "Frontend: Install"],
      "dependsOrder": "parallel",
      "problemMatcher": []
    }
  ]
}
