{
  "name": "@better-auth/root",
  "private": true,
  "type": "module",
  "packageManager": "pnpm@10.30.2",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/better-auth/better-auth.git"
  },
  "scripts": {
    "prepare": "lefthook install --reset-hooks-path",
    "build": "turbo build --filter=./packages/*",
    "dev": "turbo dev --filter=./packages/* --filter=!./packages/cli",
    "clean": "turbo clean --filter=./packages/* && rm -rf node_modules",
    "format": "biome format . --write",
    "format:md": "pnpm --filter docs format:md",
    "format:check": "pnpm --filter docs format:check",
    "lint": "biome check . --error-on-warnings",
    "lint:dependencies": "knip && knip --production",
    "lint:fix": "biome check . --fix --unsafe",
    "lint:spell": "cspell . --color",
    "lint:types": "turbo lint:types --filter=./packages/*",
    "lint:packages": "turbo lint:package --filter=./packages/*",
    "changeset": "changeset",
    "ci:version": "changeset version && pnpm install --no-frozen-lockfile",
    "ci:release": "turbo clean --filter=./packages/* && turbo build --filter=./packages/* && changeset publish",
    "test": "turbo test --continue --filter=./packages/* --filter=./test/*",
    "coverage": "turbo coverage --filter=./packages/* --filter=./test/*",
    "postcoverage": "pnpm coverage:collect && pnpm coverage:merge && pnpm coverage:report",
    "coverage:merge": "nyc merge coverage/raw coverage/merged/merged-coverage.json",
    "coverage:collect": "rm -rf coverage && mkdir -p coverage/raw && for f in $(find packages test -name coverage-final.json); do pkg=$(basename \"$(dirname \"$(dirname \"$f\")\")\"); cp \"$f\" \"./coverage/raw/$pkg-coverage-final.json\"; done",
    "coverage:report": "nyc --temp-dir=./coverage/raw report --reporter=lcov --reporter text-summary",
    "coverage:open": "open coverage/lcov-report/index.html",
    "e2e:smoke": "turbo e2e:smoke",
    "e2e:integration": "turbo e2e:integration",
    "typecheck": "tsc --build",
    "typecheck:dist": "tsc --project tsconfig.dist-check.json"
  },
  "devDependencies": {
    "@arethetypeswrong/cli": "^0.18.2",
    "@biomejs/biome": "2.4.4",
    "@changesets/changelog-github": "^0.6.0",
    "@changesets/cli": "^2.30.0",
    "@types/bun": "^1.3.9",
    "@types/node": "^25.3.2",
    "@vitest/coverage-istanbul": "catalog:vitest",
    "@vitest/ui": "catalog:vitest",
    "cspell": "^9.7.0",
    "knip": "^5.85.0",
    "lefthook": "^2.1.4",
    "nyc": "^17.1.0",
    "publint": "^0.3.17",
    "turbo": "^2.9.3",
    "typescript": "catalog:",
    "vitest": "catalog:vitest"
  }
}
