{
  "name": "router-host-2000",
  "$schema": "../../node_modules/nx/schemas/project-schema.json",
  "sourceRoot": "packages/router-demo/router-host-2000/src",
  "projectType": "library",
  "tags": ["type:app"],
  "targets": {
    "build": {
      "executor": "nx:run-commands",
      "options": {
        "commands": ["npm run build --prefix apps/router-demo/router-host-2000"]
      }
    },
    "test": {
      "executor": "nx:run-commands",
      "options": {
        "commands": ["npm run test --prefix apps/router-demo/router-host-2000"]
      }
    },
    "serve": {
      "executor": "nx:run-commands",
      "options": {
        "commands": ["npm run dev --prefix apps/router-demo/router-host-2000"]
      },
      "dependsOn": [
        {
          "target": "build",
          "dependencies": true
        }
      ]
    },
    "e2e": {
      "executor": "@nx/cypress:cypress",
      "options": {
        "cypressConfig": "apps/router-demo/router-host-2000/cypress.config.ts",
        "testingType": "e2e",
        "baseUrl": "http://127.0.0.1:2000",
        "browser": "chrome"
      },
      "configurations": {
        "development": {
          "runnerUi": true,
          "browser": "electron",
          "exit": false,
          "watch": true
        }
      }
    },
    "test:e2e": {
      "executor": "nx:run-commands",
      "options": {
        "parallel": true,
        "commands": [
          {
            "command": "lsof -i:2000 || nx run router-host-2000:serve",
            "forwardAllArgs": false
          },
          {
            "command": "sleep 4 && nx run router-host-2000:e2e",
            "forwardAllArgs": true
          }
        ]
      }
    }
  }
}
