{
  "name": "veritas-mobile",
  "$schema": "../../../node_modules/nx/schemas/project-schema.json",
  "sourceRoot": "apps/veritas/mobile",
  "projectType": "application",
  "tags": ["scope:veritas", "type:app", "platform:mobile"],
  "targets": {
    "start": {
      "executor": "nx:run-commands",
      "options": {
        "command": "expo start",
        "cwd": "apps/veritas/mobile"
      }
    },
    "start:ios": {
      "executor": "nx:run-commands",
      "options": {
        "command": "expo start --ios",
        "cwd": "apps/veritas/mobile"
      }
    },
    "start:android": {
      "executor": "nx:run-commands",
      "options": {
        "command": "expo start --android",
        "cwd": "apps/veritas/mobile"
      }
    },
    "start:web": {
      "executor": "nx:run-commands",
      "options": {
        "command": "expo start --web",
        "cwd": "apps/veritas/mobile"
      }
    },
    "build:ios": {
      "executor": "nx:run-commands",
      "options": {
        "command": "eas build --platform ios",
        "cwd": "apps/veritas/mobile"
      }
    },
    "build:android": {
      "executor": "nx:run-commands",
      "options": {
        "command": "eas build --platform android",
        "cwd": "apps/veritas/mobile"
      }
    },
    "build:all": {
      "executor": "nx:run-commands",
      "options": {
        "command": "eas build --platform all",
        "cwd": "apps/veritas/mobile"
      }
    },
    "submit:ios": {
      "executor": "nx:run-commands",
      "options": {
        "command": "eas submit --platform ios",
        "cwd": "apps/veritas/mobile"
      }
    },
    "submit:android": {
      "executor": "nx:run-commands",
      "options": {
        "command": "eas submit --platform android",
        "cwd": "apps/veritas/mobile"
      }
    },
    "prebuild": {
      "executor": "nx:run-commands",
      "options": {
        "command": "expo prebuild",
        "cwd": "apps/veritas/mobile"
      }
    },
    "prebuild:clean": {
      "executor": "nx:run-commands",
      "options": {
        "command": "expo prebuild --clean",
        "cwd": "apps/veritas/mobile"
      }
    },
    "lint": {
      "executor": "@nx/eslint:lint",
      "options": {
        "lintFilePatterns": ["apps/veritas/mobile/**/*.{ts,tsx}"]
      }
    },
    "typecheck": {
      "executor": "nx:run-commands",
      "options": {
        "command": "tsc --noEmit",
        "cwd": "apps/veritas/mobile"
      }
    },
    "test": {
      "executor": "nx:run-commands",
      "options": {
        "command": "jest",
        "cwd": "apps/veritas/mobile"
      }
    },
    "e2e": {
      "executor": "nx:run-commands",
      "options": {
        "commands": [
          "npx detox test --configuration veritas.ios.sim.debug -- --testPathPattern='tests/veritas/'"
        ],
        "cwd": "testing/mobile"
      },
      "configurations": {
        "ios.debug": {
          "commands": [
            "npx detox test --configuration veritas.ios.sim.debug -- --testPathPattern='tests/veritas/'"
          ]
        },
        "ios.release": {
          "commands": [
            "npx detox test --configuration veritas.ios.sim.release -- --testPathPattern='tests/veritas/'"
          ]
        },
        "android.debug": {
          "commands": [
            "npx detox test --configuration veritas.android.emu.debug -- --testPathPattern='tests/veritas/'"
          ]
        },
        "android.release": {
          "commands": [
            "npx detox test --configuration veritas.android.emu.release -- --testPathPattern='tests/veritas/'"
          ]
        }
      }
    }
  }
}
