{
  "name": "psyche-admin",
  "$schema": "../../../node_modules/nx/schemas/project-schema.json",
  "projectType": "application",
  "sourceRoot": "apps/psyche/admin/src",
  "tags": [
    "scope:psyche",
    "layer:app",
    "type:nextjs",
    "platform:web"
  ],
  "targets": {
    "dev": {
      "executor": "nx:run-commands",
      "options": {
        "command": "pnpm next dev --port 3000",
        "cwd": "apps/psyche/admin"
      }
    },
    "build": {
      "executor": "nx:run-commands",
      "options": {
        "command": "pnpm next build",
        "cwd": "apps/psyche/admin"
      },
      "outputs": ["{projectRoot}/.next"]
    },
    "start": {
      "executor": "nx:run-commands",
      "options": {
        "command": "pnpm next start --port 3000",
        "cwd": "apps/psyche/admin"
      },
      "dependsOn": ["build"]
    },
    "serve": {
      "executor": "nx:run-commands",
      "options": {
        "command": "pnpm next dev --port 3000",
        "cwd": "apps/psyche/admin"
      }
    },
    "lint": {
      "executor": "nx:run-commands",
      "options": {
        "command": "pnpm next lint",
        "cwd": "apps/psyche/admin"
      }
    },
    "typecheck": {
      "executor": "nx:run-commands",
      "options": {
        "command": "pnpm tsc --noEmit",
        "cwd": "apps/psyche/admin"
      }
    },
    "format": {
      "executor": "nx:run-commands",
      "options": {
        "command": "pnpm prettier --write .",
        "cwd": "apps/psyche/admin"
      }
    },
    "format-check": {
      "executor": "nx:run-commands",
      "options": {
        "command": "pnpm prettier --check .",
        "cwd": "apps/psyche/admin"
      }
    },
    "test": {
      "executor": "nx:run-commands",
      "options": {
        "command": "pnpm vitest run",
        "cwd": "apps/psyche/admin"
      }
    },
    "test-watch": {
      "executor": "nx:run-commands",
      "options": {
        "command": "pnpm vitest",
        "cwd": "apps/psyche/admin"
      }
    },
    "test-cov": {
      "executor": "nx:run-commands",
      "options": {
        "command": "pnpm vitest run --coverage",
        "cwd": "apps/psyche/admin"
      },
      "outputs": ["{projectRoot}/coverage"]
    },
    "test-visual": {
      "executor": "nx:run-commands",
      "options": {
        "command": "pnpm playwright test",
        "cwd": "apps/psyche/admin"
      }
    },
    "test-visual-update": {
      "executor": "nx:run-commands",
      "options": {
        "command": "pnpm playwright test --update-snapshots",
        "cwd": "apps/psyche/admin"
      }
    },
    "analyze": {
      "executor": "nx:run-commands",
      "options": {
        "command": "ANALYZE=true pnpm next build",
        "cwd": "apps/psyche/admin"
      }
    },
    "docker-build": {
      "executor": "nx:run-commands",
      "options": {
        "command": "docker build -t psyche-admin:latest -f Dockerfile ../..",
        "cwd": "apps/psyche/admin"
      }
    },
    "docker-run": {
      "executor": "nx:run-commands",
      "options": {
        "command": "docker run -p 3000:3000 --env-file .env psyche-admin:latest",
        "cwd": "apps/psyche/admin"
      }
    }
  }
}
