{
  "name": "productier",
  "private": true,
  "workspaces": [
    "apps/frontend",
    "apps/backend/auth-service",
    "packages/api-client",
    "packages/openclaw-plugin"
  ],
  "scripts": {
    "dev": "npm run dev:frontend",
    "dev:frontend": "npm run dev -w apps/frontend -- --port 5173 --strictPort",
    "dev:backend": "docker compose up -d",
    "dev:full": "concurrently -k -n frontend,auth,api \"npm run dev -w apps/frontend\" \"npm run dev -w apps/backend/auth-service\" \"npm run dev:api\"",
    "dev:api": "cd apps/backend && go run ./cmd/api",
    "test:api": "cd apps/backend && go test ./...",
    "test:ops": "bash scripts/ops/test-ops.sh",
    "build": "npm run build -w apps/frontend && npm run check -w apps/backend/auth-service && npm run build:api",
    "build:api": "cd apps/backend && mkdir -p ../../dist && go build -o ../../dist/api ./cmd/api",
    "gen:api": "openapi-ts",
    "check:frontend-budgets": "node scripts/check-frontend-budgets.mjs",
    "check": "npm run gen:api && npm run build && npm run check:frontend-budgets",
    "check:prod-env": "node scripts/check-production-env.mjs .env.production",
    "ops:backup": "bash scripts/ops/backup-prod.sh .env.production",
    "ops:backup:job": "bash scripts/ops/backup-job.sh .env.production",
    "ops:preflight": "bash scripts/ops/preflight-prod.sh .env.production",
    "ops:deploy": "bash scripts/ops/deploy-prod.sh .env.production",
    "ops:drill:staging": "bash scripts/ops/staging-drill.sh .env.production latest",
    "ops:prune": "bash scripts/ops/prune-backups.sh",
    "ops:restore": "bash scripts/ops/restore-prod.sh .env.production",
    "ops:restore:drill": "bash scripts/ops/restore-drill.sh .env.production latest",
    "ops:smoke": "bash scripts/ops/smoke-prod.sh .env.production",
    "ops:verify-backup": "bash scripts/ops/verify-backup.sh",
    "ci": "npm run check && npm run test:api && npm run test:ops && npm run openclaw:check",
    "openclaw:describe": "npm run describe -w packages/openclaw-plugin",
    "openclaw:check": "npm run check -w packages/openclaw-plugin"
  },
  "devDependencies": {
    "@hey-api/openapi-ts": "^0.94.5",
    "concurrently": "^9.1.2"
  }
}
