{
  "name": "@ai-sdk/react",
  "version": "4.0.23",
  "type": "module",
  "license": "Apache-2.0",
  "sideEffects": false,
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    "./package.json": "./package.json",
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "default": "./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.4.1",
    "throttleit": "2.1.0",
    "@ai-sdk/mcp": "2.0.10",
    "@ai-sdk/provider": "4.0.3",
    "@ai-sdk/provider-utils": "5.0.7",
    "ai": "7.0.22"
  },
  "devDependencies": {
    "@testing-library/jest-dom": "^6.9.1",
    "@testing-library/react": "^16.3.2",
    "@testing-library/user-event": "^14.6.1",
    "@types/node": "22.19.19",
    "@types/react": "^18.3.28",
    "@types/react-dom": "^18.3.7",
    "@vitejs/plugin-react": "^4.7.0",
    "jsdom": "^24.1.3",
    "msw": "2.6.4",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "tsup": "^7.2.0",
    "typescript": "5.8.3",
    "zod": "3.25.76",
    "@ai-sdk/test-server": "2.0.0",
    "@vercel/ai-tsconfig": "0.0.0"
  },
  "peerDependencies": {
    "react": "^18 || ~19.0.1 || ~19.1.2 || ^19.2.1"
  },
  "engines": {
    "node": ">=22"
  },
  "publishConfig": {
    "access": "public",
    "provenance": true
  },
  "homepage": "https://ai-sdk.dev/docs",
  "repository": {
    "type": "git",
    "url": "https://github.com/vercel/ai",
    "directory": "packages/react"
  },
  "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"
  }
}