{
  "name": "@openpanel/db",
  "version": "0.0.1",
  "main": "index.ts",
  "scripts": {
    "codegen": "pnpm with-env prisma generate",
    "migrate": "pnpm with-env prisma migrate dev",
    "migrate:deploy:code": "pnpm with-env jiti ./code-migrations/migrate.ts",
    "migrate:deploy:db": "pnpm with-env prisma migrate deploy",
    "migrate:deploy": "pnpm migrate:deploy:db && pnpm migrate:deploy:code",
    "typecheck": "tsc --noEmit",
    "with-env": "dotenv -e ../../.env -c --"
  },
  "dependencies": {
    "@clickhouse/client": "^1.2.0",
    "@openpanel/common": "workspace:*",
    "@openpanel/constants": "workspace:*",
    "@openpanel/json": "workspace:*",
    "@openpanel/logger": "workspace:*",
    "@openpanel/queue": "workspace:^",
    "@openpanel/redis": "workspace:*",
    "@openpanel/validation": "workspace:*",
    "@prisma/client": "^5.1.1",
    "@prisma/extension-read-replicas": "^0.4.0",
    "fast-deep-equal": "^3.1.3",
    "jiti": "^2.4.1",
    "prisma-json-types-generator": "^3.1.1",
    "ramda": "^0.29.1",
    "sqlstring": "^2.3.3",
    "superjson": "^1.13.3",
    "uuid": "^9.0.1",
    "zod": "^3.22.4"
  },
  "devDependencies": {
    "@openpanel/tsconfig": "workspace:*",
    "@types/node": "20.14.8",
    "@types/ramda": "^0.29.6",
    "@types/sqlstring": "^2.3.2",
    "@types/uuid": "^9.0.8",
    "prisma": "^5.1.1",
    "typescript": "^5.2.2"
  }
}
