{
  "name": "spoon",
  "private": true,
  "engines": {
    "node": "^22.20.0"
  },
  "packageManager": "bun@1.3.10",
  "workspaces": [
    "apps/*",
    "packages/*",
    "tools/*"
  ],
  "catalog": {
    "@eslint/js": "^10.0.1",
    "@tailwindcss/postcss": "^4.2.2",
    "@types/node": "^25.5.0",
    "eslint": "^10.1.0",
    "prettier": "^3.8.1",
    "tailwindcss": "^4.2.2",
    "typescript": "^6.0.2",
    "ws": "^8.18.3",
    "zod": "^4.3.6"
  },
  "catalogs": {
    "test": {
      "@edge-runtime/vm": "^5.0.0",
      "@playwright/test": "^1.60.0",
      "@testing-library/jest-dom": "^6.9.1",
      "@testing-library/react": "^16.3.2",
      "@testing-library/user-event": "^14.6.1",
      "@vitejs/plugin-react": "^6.0.2",
      "@vitest/coverage-v8": "^4.1.8",
      "convex-test": "^0.0.53",
      "jsdom": "^29.1.1",
      "vitest": "^4.1.8"
    },
    "convex": {
      "@convex-dev/auth": "^0.0.87",
      "convex": "^1.34.1"
    },
    "react19": {
      "@types/react": "~19.2.14",
      "@types/react-dom": "~19.2.3",
      "react": "19.2.4",
      "react-dom": "19.2.4"
    }
  },
  "scripts": {
    "build": "turbo run build",
    "clean": "git clean -xdf node_modules",
    "clean:ws": "turbo run clean",
    "dev": "turbo run dev",
    "dev:tunnel": "turbo run dev:tunnel",
    "dev:next": "turbo run dev -F @spoon/next -F @spoon/backend",
    "dev:agent": "turbo run dev -F @spoon/agent-worker",
    "dev:next:web": "turbo run dev:web -F @spoon/next -F @spoon/backend",
    "dev:expo": "turbo run dev -F @spoon/expo -F @spoon/backend",
    "dev:backend": "turbo run dev -F @spoon/backend",
    "dev:staging": "INFISICAL_ENV=staging turbo run dev -F @spoon/next -F @spoon/backend",
    "dev:expo:tunnel": "turbo run dev:tunnel -F @spoon/expo -F @spoon/backend",
    "sync:convex": "scripts/sync-convex-env ${INFISICAL_ENV:-dev}",
    "db:up": "bash scripts/db/up",
    "db:down": "bash scripts/db/down",
    "db:down:wipe": "bash scripts/db/down --wipe",
    "format": "turbo run format --continue -- --cache --cache-location .cache/.prettiercache",
    "format:fix": "turbo run format --continue -- --write --cache --cache-location .cache/.prettiercache",
    "lint": "turbo run lint --continue -- --cache --cache-location .cache/.eslintcache",
    "lint:fix": "turbo run lint --continue -- --fix --cache --cache-location .cache/.eslintcache",
    "lint:ws": "bunx sherif@latest",
    "patch:usesend": "node scripts/patch-usesend.mjs",
    "postinstall": "bun patch:usesend && bun lint:ws",
    "typecheck": "turbo run typecheck",
    "test": "turbo run test:unit test:integration test:component",
    "test:unit": "turbo run test:unit",
    "test:integration": "turbo run test:integration",
    "test:component": "turbo run test:component",
    "test:e2e": "bash scripts/e2e",
    "test:all": "turbo run test:unit test:integration test:component && bun test:e2e",
    "ci:check": "bun lint:ws && turbo run lint typecheck test:unit test:integration test:component --concurrency=2 && bun test:e2e",
    "prepare": "husky",
    "ui-add": "turbo run ui-add",
    "android": "expo run:android",
    "ios": "expo run:ios"
  },
  "devDependencies": {
    "@spoon/prettier-config": "workspace:",
    "@turbo/gen": "^2.9.18",
    "dotenv-cli": "11.0.0",
    "husky": "^9.1.7",
    "lint-staged": "^17.0.7",
    "prettier": "catalog:",
    "turbo": "^2.9.18",
    "typescript": "catalog:"
  },
  "prettier": "@spoon/prettier-config",
  "lint-staged": {
    "apps/next/**/*.{ts,tsx}": [
      "eslint --flag unstable_native_nodejs_ts_config --fix --no-warn-ignored --config apps/next/eslint.config.ts",
      "prettier --write"
    ],
    "apps/expo/**/*.{ts,tsx}": [
      "eslint --flag unstable_native_nodejs_ts_config --fix --no-warn-ignored --config apps/expo/eslint.config.mts",
      "prettier --write"
    ],
    "packages/backend/**/*.{ts,tsx}": [
      "eslint --flag unstable_native_nodejs_ts_config --fix --no-warn-ignored --config packages/backend/eslint.config.ts",
      "prettier --write"
    ],
    "packages/ui/**/*.{ts,tsx}": [
      "eslint --flag unstable_native_nodejs_ts_config --fix --no-warn-ignored --config packages/ui/eslint.config.ts",
      "prettier --write"
    ],
    "tools/tailwind/**/*.{ts,tsx}": [
      "eslint --flag unstable_native_nodejs_ts_config --fix --no-warn-ignored --config tools/tailwind/eslint.config.ts",
      "prettier --write"
    ],
    "tools/{eslint,prettier,typescript,vitest}/**/*.{ts,tsx}": [
      "prettier --write"
    ],
    "**/*.{js,mjs,cjs,md,json,yaml,yml,css}": [
      "prettier --write"
    ]
  },
  "trustedDependencies": [
    "@sentry/cli",
    "core-js-pure",
    "esbuild",
    "sharp"
  ]
}
