{
  "name": "@oshun/bff",
  "$schema": "../../../node_modules/nx/schemas/project-schema.json",
  "sourceRoot": "apps/oshun/bff/src",
  "projectType": "application",
  "tags": ["scope:oshun", "type:app", "layer:api", "platform:node"],
  "targets": {
    "build": {
      "executor": "nx:run-commands",
      "outputs": ["{projectRoot}/dist"],
      "options": {
        "cwd": "apps/oshun/bff",
        "command": "node scripts/build.mjs"
      }
    },
    "dev": {
      "executor": "nx:run-commands",
      "options": {
        "cwd": "apps/oshun/bff",
        "command": "tsx watch src/server.ts"
      }
    },
    "dev-e2e-pro": {
      "executor": "nx:run-commands",
      "options": {
        "cwd": "apps/oshun/bff",
        "command": "OSHUN_DEV_SIGNUP_PLAN=pro OSHUN_DEV_AUTO_VERIFY_EMAIL=true tsx watch src/server.ts"
      }
    },
    "start": {
      "executor": "nx:run-commands",
      "dependsOn": ["build"],
      "options": {
        "cwd": "apps/oshun/bff",
        "command": "node dist/server.js"
      }
    },
    "lint": {
      "executor": "@nx/eslint:lint",
      "options": {
        "lintFilePatterns": ["apps/oshun/bff/src/**/*.ts"]
      }
    },
    "typecheck": {
      "executor": "nx:run-commands",
      "options": {
        "command": "node tools/typecheck/ratchet.mjs --app apps/oshun/bff --tsconfig tsconfig.typecheck.json"
      }
    },
    "test": {
      "executor": "nx:run-commands",
      "options": {
        "cwd": "apps/oshun/bff",
        "command": "vitest run"
      }
    },
    "openapi:runtime-drift": {
      "executor": "nx:run-commands",
      "options": {
        "cwd": "apps/oshun/bff",
        "command": "vitest run src/__tests__/contract/openapi-runtime-drift.test.ts"
      }
    },
    "e2e": {
      "executor": "nx:run-commands",
      "options": {
        "cwd": "apps/oshun/bff",
        "command": "echo \"@oshun/bff e2e scaffold target: add API e2e specs under apps/oshun/bff/src/**/*.e2e.test.ts\""
      }
    },
    "test:watch": {
      "executor": "nx:run-commands",
      "options": {
        "cwd": "apps/oshun/bff",
        "command": "vitest"
      }
    },
    "clean": {
      "executor": "nx:run-commands",
      "options": {
        "cwd": "apps/oshun/bff",
        "command": "rm -rf dist"
      }
    }
  }
}
