{
  "name": "@pac/service",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "build": "nest build",
    "dev": "nest start --watch --builder swc",
    "start": "node dist/main.js",
    "start:prod": "node dist/main.js",
    "lint": "eslint src",
    "type-check": "tsc --noEmit",
    "test": "jest --passWithNoTests",
    "clean": "rm -rf dist .turbo",
    "prisma:generate": "prisma generate",
    "prisma:migrate": "prisma migrate dev",
    "prisma:deploy": "prisma migrate deploy",
    "prisma:studio": "prisma studio",
    "prisma:seed": "ts-node --transpile-only prisma/seed.ts",
    "sync": "ts-node --transpile-only src/cli/sync-incremental.cli.ts",
    "sync:prod": "node --max-old-space-size=8192 dist/cli/sync-incremental.cli.js",
    "sync:once": "ts-node --transpile-only src/cli/sync-incremental.cli.ts",
    "cold-import": "ts-node --transpile-only src/cli/cold-import.cli.ts",
    "cold-import:prod": "node --max-old-space-size=8192 dist/cli/cold-import.cli.js",
    "reparse": "ts-node --transpile-only src/cli/reparse.cli.ts",
    "reparse:prod": "node --max-old-space-size=8192 dist/cli/reparse.cli.js",
    "sync-incremental": "ts-node --transpile-only src/cli/sync-incremental.cli.ts",
    "sync-incremental:prod": "node --max-old-space-size=4096 dist/cli/sync-incremental.cli.js",
    "import-patient": "ts-node --transpile-only src/cli/import-patient.cli.ts",
    "recompute-persona": "ts-node --transpile-only src/cli/recompute-persona.cli.ts",
    "recompute-persona:prod": "node --max-old-space-size=8192 dist/cli/recompute-persona.cli.js",
    "recompute-plans": "ts-node --transpile-only src/cli/recompute-plans.cli.ts",
    "recompute-plans:prod": "node --max-old-space-size=8192 dist/cli/recompute-plans.cli.js",
    "timeline": "ts-node --transpile-only src/cli/timeline.cli.ts",
    "timeline:prod": "node dist/cli/timeline.cli.js",
    "verify-field-mapper": "ts-node --transpile-only src/cli/verify-field-mapper.ts",
    "pac:host": "ts-node --transpile-only src/cli/host-admin.cli.ts",
    "pac:host:prod": "node dist/cli/host-admin.cli.js",
    "ai:gen-script": "ts-node --transpile-only src/cli/ai-gen-script.cli.ts",
    "ai:gen-script:prod": "node dist/cli/ai-gen-script.cli.js",
    "sync:test": "ts-node --transpile-only src/cli/sync-test.cli.ts",
    "stale-scan": "ts-node --transpile-only src/cli/stale-scan.cli.ts",
    "stale-scan:prod": "node dist/cli/stale-scan.cli.js",
    "openapi:dump": "ts-node --transpile-only src/cli/dump-openapi.cli.ts",
    "refresh-clinic-names": "ts-node --transpile-only src/cli/refresh-clinic-names.cli.ts"
  },
  "prisma": {
    "seed": "ts-node --transpile-only prisma/seed.ts"
  },
  "dependencies": {
    "@ai-sdk/deepseek": "^2.0.35",
    "@ai-sdk/google": "^3.0.80",
    "@ai-sdk/openai-compatible": "^2.0.48",
    "@bull-board/api": "^7.1.5",
    "@bull-board/express": "^7.1.5",
    "@bull-board/nestjs": "^7.1.5",
    "@clickhouse/client": "^1.18.5",
    "@modelcontextprotocol/sdk": "^1.29.0",
    "@nestjs/bullmq": "^11.0.4",
    "@nestjs/common": "^11.1.19",
    "@nestjs/config": "^4.0.4",
    "@nestjs/core": "^11.1.19",
    "@nestjs/jwt": "^11.0.2",
    "@nestjs/passport": "^11.0.5",
    "@nestjs/platform-express": "^11.1.19",
    "@nestjs/platform-socket.io": "^11.1.24",
    "@nestjs/schedule": "^6.1.3",
    "@nestjs/swagger": "^11.4.2",
    "@nestjs/websockets": "^11.1.24",
    "@pac/types": "workspace:*",
    "@pac/utils": "workspace:*",
    "@prisma/client": "^6.19.2",
    "@scalar/nestjs-api-reference": "^1.1.14",
    "@sentry/nestjs": "^10.66.0",
    "@wecom/aibot-node-sdk": "^1.0.7",
    "ai": "^6.0.184",
    "bullmq": "^5.76.10",
    "class-transformer": "^0.5.1",
    "class-validator": "^0.15.1",
    "cron": "^4.4.0",
    "csv-parse": "^6.2.1",
    "helmet": "^8.1.0",
    "ioredis": "^5.10.1",
    "js-yaml": "^4.1.1",
    "nest-winston": "^1.10.2",
    "nestjs-zod": "^5.3.0",
    "passport": "^0.7.0",
    "passport-jwt": "^4.0.1",
    "reflect-metadata": "^0.2.2",
    "rxjs": "^7.8.1",
    "socket.io": "^4.8.3",
    "winston": "^3.19.0",
    "ws": "^8.21.0",
    "yauzl": "^3.3.0",
    "zod": "^4.4.3"
  },
  "devDependencies": {
    "@nestjs/cli": "^11.0.21",
    "@nestjs/schematics": "^11.1.0",
    "@nestjs/testing": "^11.1.19",
    "@swc/cli": "^0.7.8",
    "@swc/core": "^1.13.7",
    "@types/express": "^5.0.0",
    "@types/jest": "^30.0.0",
    "@types/js-yaml": "^4.0.9",
    "@types/node": "^22.10.2",
    "@types/passport-jwt": "^4.0.1",
    "@types/ws": "^8.18.1",
    "jest": "^30.3.0",
    "prisma": "^6.19.2",
    "source-map-support": "^0.5.21",
    "ts-jest": "^29.4.9",
    "ts-loader": "^9.5.7",
    "ts-node": "^10.9.2",
    "tsconfig-paths": "^4.2.0",
    "typescript": "^5.9.3"
  }
}
