{
  "name": "@lilith/mobile",
  "$schema": "../../../node_modules/nx/schemas/project-schema.json",
  "sourceRoot": "apps/lilith/mobile/src",
  "projectType": "application",
  "tags": ["scope:lilith", "type:app", "platform:mobile"],
  "targets": {
    "start": {
      "executor": "nx:run-commands",
      "options": {
        "cwd": "apps/lilith/mobile",
        "command": "react-native start"
      }
    },
    "run:android": {
      "executor": "nx:run-commands",
      "options": {
        "cwd": "apps/lilith/mobile",
        "command": "react-native run-android"
      }
    },
    "run:ios": {
      "executor": "nx:run-commands",
      "options": {
        "cwd": "apps/lilith/mobile",
        "command": "react-native run-ios"
      }
    },
    "build:android": {
      "executor": "nx:run-commands",
      "outputs": ["{projectRoot}/android/app/build"],
      "options": {
        "cwd": "apps/lilith/mobile/android",
        "command": "./gradlew assembleRelease"
      }
    },
    "build:ios": {
      "executor": "nx:run-commands",
      "outputs": ["{projectRoot}/ios/build"],
      "options": {
        "cwd": "apps/lilith/mobile/ios",
        "command": "xcodebuild -workspace Lilith.xcworkspace -scheme Lilith -configuration Release -archivePath build/Lilith.xcarchive archive"
      }
    },
    "lint": {
      "executor": "nx:run-commands",
      "options": {
        "cwd": "apps/lilith/mobile",
        "command": "eslint ."
      }
    },
    "test": {
      "executor": "nx:run-commands",
      "options": {
        "cwd": "apps/lilith/mobile",
        "command": "jest"
      }
    },
    "e2e:ios": {
      "executor": "nx:run-commands",
      "dependsOn": ["e2e:build:ios"],
      "options": {
        "cwd": "apps/lilith/mobile",
        "command": "detox test --configuration ios.sim.debug"
      }
    },
    "e2e:android": {
      "executor": "nx:run-commands",
      "dependsOn": ["e2e:build:android"],
      "options": {
        "cwd": "apps/lilith/mobile",
        "command": "detox test --configuration android.emu.debug"
      }
    },
    "e2e:build:ios": {
      "executor": "nx:run-commands",
      "outputs": ["{projectRoot}/ios/build"],
      "options": {
        "cwd": "apps/lilith/mobile",
        "command": "detox build --configuration ios.sim.debug"
      }
    },
    "e2e:build:android": {
      "executor": "nx:run-commands",
      "outputs": ["{projectRoot}/android/app/build"],
      "options": {
        "cwd": "apps/lilith/mobile",
        "command": "detox build --configuration android.emu.debug"
      }
    },
    "clean": {
      "executor": "nx:run-commands",
      "options": {
        "cwd": "apps/lilith/mobile",
        "command": "react-native clean"
      }
    }
  }
}
