{
  "name": "@ai-sdk/react",
  "version": "3.0.147",
  "license": "Apache-2.0",
  "sideEffects": false,
  "main": "./dist/index.js",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "exports": {
    "./package.json": "./package.json",
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.js"
    }
  },
  "files": [
    "dist/**/*",
    "src",
    "!src/**/*.test.ts",
    "!src/**/*.test.tsx",
    "!src/**/*.test-d.ts",
    "!src/**/__snapshots__",
    "!src/**/__fixtures__",
    "CHANGELOG.md",
    "README.md"
  ],
  "dependencies": {
    "swr": "^2.2.5",
    "throttleit": "2.1.0",
    "@ai-sdk/provider-utils": "4.0.22",
    "ai": "6.0.145"
  },
  "devDependencies": {
    "@testing-library/jest-dom": "^6.6.3",
    "@testing-library/user-event": "^14.5.2",
    "@testing-library/react": "^16.0.1",
    "@types/node": "20.17.24",
    "@types/react": "^18",
    "@types/react-dom": "^18",
    "jsdom": "^24.0.0",
    "msw": "2.6.4",
    "react-dom": "^18 || ^19",
    "tsup": "^7.2.0",
    "typescript": "5.8.3",
    "zod": "3.25.76",
    "@ai-sdk/test-server": "1.0.3",
    "@vercel/ai-tsconfig": "0.0.0"
  },
  "peerDependencies": {
    "react": "^18 || ~19.0.1 || ~19.1.2 || ^19.2.1"
  },
  "engines": {
    "node": ">=18"
  },
  "publishConfig": {
    "access": "public"
  },
  "homepage": "https://ai-sdk.dev/docs",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/vercel/ai.git"
  },
  "bugs": {
    "url": "https://github.com/vercel/ai/issues"
  },
  "keywords": [
    "ai",
    "react"
  ],
  "scripts": {
    "build": "pnpm clean && tsup --tsconfig tsconfig.build.json",
    "build:watch": "pnpm clean && tsup --watch --tsconfig tsconfig.build.json",
    "clean": "del-cli dist *.tsbuildinfo",
    "type-check": "tsc --build",
    "test": "vitest --config vitest.config.js --run",
    "test:update": "vitest --config vitest.config.js --run -u",
    "test:watch": "vitest --config vitest.config.js"
  }
}