{
  "name": "chat-app",
  "version": "0.1.0",
  "private": true,
  "description": "E2E-encrypted chat app monorepo (mobile + desktop)",
  "packageManager": "pnpm@9.12.0",
  "engines": {
    "node": ">=22.0.0",
    "pnpm": ">=9.0.0"
  },
  "scripts": {
    "build": "turbo run build",
    "dev": "turbo run dev",
    "lint": "turbo run lint",
    "lint:fix": "turbo run lint -- --fix",
    "typecheck": "turbo run typecheck",
    "test": "turbo run test",
    "test:watch": "turbo run test:watch",
    "format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md,yml,yaml}\"",
    "format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md,yml,yaml}\"",
    "clean": "turbo run clean && rm -rf node_modules .turbo",
    "mobile": "pnpm --filter @chat-app/mobile",
    "mobile:dev": "pnpm --filter @chat-app/mobile dev",
    "mobile:ios": "pnpm --filter @chat-app/mobile ios",
    "mobile:android": "pnpm --filter @chat-app/mobile android",
    "desktop": "pnpm --filter @chat-app/desktop",
    "desktop:dev": "pnpm --filter @chat-app/desktop dev",
    "desktop:build": "pnpm --filter @chat-app/desktop build",
    "db:types": "supabase gen types typescript --local > packages/db-types/src/index.ts",
    "prod:migrate": "./scripts/prod/push-migrations.sh",
    "prod:deploy-fn": "./scripts/prod/push-edge-function.sh",
    "prod:logs": "./scripts/prod/logs.sh",
    "prod:restart": "./scripts/prod/restart.sh",
    "prod:tunnel-db": "./scripts/prod/tunnel-db.sh",
    "prod:tunnel-mailpit": "./scripts/prod/tunnel-mailpit.sh",
    "prod:invite": "./scripts/prod/create-invite.sh",
    "prod:gen-jwt": "./scripts/prod/gen-jwt.sh",
    "prod:rotate-livekit": "./scripts/prod/rotate-livekit-keys.sh"
  },
  "devDependencies": {
    "@types/node": "^22.9.0",
    "@typescript-eslint/eslint-plugin": "^8.15.0",
    "@typescript-eslint/parser": "^8.15.0",
    "eslint": "^9.15.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-import": "^2.31.0",
    "eslint-plugin-simple-import-sort": "^12.1.1",
    "prettier": "^3.3.3",
    "turbo": "^2.3.0",
    "typescript": "^5.6.3",
    "vitest": "^2.1.5"
  },
  "pnpm": {
    "overrides": {
      "libsodium-wrappers": "0.7.15"
    }
  }
}
