{
  "name": "@tidbcloud/auth-js",
  "version": "0.0.0",
  "description": "TiDB-native Supabase-like application integration SDK for Auth and published Data APIs.",
  "type": "module",
  "license": "MIT",
  "sideEffects": false,
  "engines": {
    "node": ">=22"
  },
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "default": "./dist/index.js"
    },
    "./browser": {
      "types": "./dist/browser/index.d.ts",
      "default": "./dist/browser/index.js"
    },
    "./server": {
      "types": "./dist/server/index.d.ts",
      "default": "./dist/server/index.js"
    },
    "./edge": {
      "types": "./dist/edge/index.d.ts",
      "default": "./dist/edge/index.js"
    },
    "./schema": {
      "types": "./dist/schema/index.d.ts",
      "default": "./dist/schema/index.js"
    },
    "./typegen": {
      "types": "./dist/typegen/index.d.ts",
      "default": "./dist/typegen/index.js"
    },
    "./types": {
      "types": "./dist/types/index.d.ts",
      "default": "./dist/types/index.js"
    },
    "./package.json": "./package.json"
  },
  "bin": {
    "tidbcloud-auth-typegen": "./dist/typegen/cli.js"
  },
  "types": "./dist/index.d.ts",
  "files": [
    "dist",
    "README.md",
    "LICENSE",
    "docs/api-reference.md",
    "docs/migration-supabase-js.md",
    "docs/release-checklist.md",
    "docs/security.md",
    "docs/troubleshooting.md",
    "package.json"
  ],
  "scripts": {
    "clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
    "lint": "tsc --noEmit -p tsconfig.json",
    "typecheck": "tsc --noEmit -p tsconfig.json",
    "build": "node scripts/build.mjs",
    "dev:local": "npm --prefix demo-admin-controlplane run dev:local",
    "dev:aws": "npm --prefix demo-admin-controlplane run dev:aws",
    "demo-admin:build": "npm --prefix demo-admin-controlplane run build",
    "demo-admin:build:aws": "npm --prefix demo-admin-controlplane run build -- --mode aws",
    "demos": "node scripts/demos.mjs --aws",
    "demos:aws": "node scripts/demos.mjs --aws",
    "demos:local": "node scripts/demos.mjs --local",
    "test": "vitest run",
    "test:contracts": "vitest run test/contracts",
    "test:types": "tsc --noEmit -p tsconfig.test.json",
    "test:security": "vitest run test/security",
    "test:exports": "vitest run test/exports",
    "test:bundle": "vitest run test/bundle",
    "pack:dry-run": "npm pack --dry-run",
    "sync:fixtures": "node scripts/sync-sdk-fixtures.mjs"
  },
  "devDependencies": {
    "@types/node": "^24.0.3",
    "typescript": "^5.9.3",
    "vitest": "^3.2.4"
  }
}
