{
  "name": "ai",
  "version": "2.2.23",
  "license": "Apache-2.0",
  "sideEffects": false,
  "main": "./dist/index.js",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "files": [
    "dist/**/*",
    "react/dist/**/*",
    "svelte/dist/**/*",
    "vue/dist/**/*",
    "solid/dist/**/*",
    "prompts/dist/**/*"
  ],
  "exports": {
    "./package.json": "./package.json",
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.mjs",
      "module": "./dist/index.mjs",
      "require": "./dist/index.js"
    },
    "./prompts": {
      "types": "./prompts/dist/index.d.ts",
      "import": "./prompts/dist/index.mjs",
      "module": "./prompts/dist/index.mjs",
      "require": "./prompts/dist/index.js"
    },
    "./react": {
      "types": "./react/dist/index.d.ts",
      "react-server": "./react/dist/index.server.mjs",
      "import": "./react/dist/index.mjs",
      "module": "./react/dist/index.mjs",
      "require": "./react/dist/index.js"
    },
    "./svelte": {
      "types": "./svelte/dist/index.d.ts",
      "import": "./svelte/dist/index.mjs",
      "module": "./svelte/dist/index.mjs",
      "require": "./svelte/dist/index.js"
    },
    "./vue": {
      "types": "./vue/dist/index.d.ts",
      "import": "./vue/dist/index.mjs",
      "module": "./vue/dist/index.mjs",
      "require": "./vue/dist/index.js"
    },
    "./solid": {
      "types": "./solid/dist/index.d.ts",
      "import": "./solid/dist/index.mjs",
      "module": "./solid/dist/index.mjs",
      "require": "./solid/dist/index.js"
    }
  },
  "dependencies": {
    "eventsource-parser": "1.0.0",
    "nanoid": "3.3.6",
    "solid-swr-store": "0.10.7",
    "sswr": "2.0.0",
    "swr": "2.2.0",
    "swr-store": "0.10.6",
    "swrv": "1.0.4"
  },
  "devDependencies": {
    "@edge-runtime/jest-environment": "1.1.0-beta.31",
    "@huggingface/inference": "2.6.4",
    "@testing-library/jest-dom": "^6.1.4",
    "@testing-library/react": "^14.0.0",
    "@testing-library/user-event": "^14.5.1",
    "@types/jest": "29.2.0",
    "@types/node": "^17.0.12",
    "@types/react": "^18.2.8",
    "@types/react-dom": "^18.2.0",
    "eslint": "^7.32.0",
    "jest": "29.2.1",
    "jest-environment-jsdom": "^29.7.0",
    "jsdom": "^22.1.0",
    "langchain": "0.0.172",
    "openai": "4.16.1",
    "ts-jest": "29.0.3",
    "tsup": "^6.7.0",
    "typescript": "5.1.3",
    "@vercel/ai-tsconfig": "0.0.0",
    "eslint-config-vercel-ai": "0.0.0"
  },
  "peerDependencies": {
    "react": "^18.2.0",
    "solid-js": "^1.7.7",
    "svelte": "^3.0.0 || ^4.0.0",
    "vue": "^3.3.4"
  },
  "peerDependenciesMeta": {
    "react": {
      "optional": true
    },
    "svelte": {
      "optional": true
    },
    "vue": {
      "optional": true
    },
    "solid-js": {
      "optional": true
    }
  },
  "engines": {
    "node": ">=14.6"
  },
  "publishConfig": {
    "access": "public"
  },
  "homepage": "https://sdk.vercel.ai/docs",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/vercel/ai.git"
  },
  "bugs": {
    "url": "https://github.com/vercel/ai/issues"
  },
  "keywords": [
    "ai",
    "nextjs",
    "svelte",
    "react",
    "vue"
  ],
  "scripts": {
    "build": "tsup && cat react/dist/index.server.d.ts >> react/dist/index.d.ts",
    "clean": "rm -rf dist && rm -rf react/dist && rm -rf svelte/dist && rm -rf vue/dist && rm -rf solid/dist",
    "dev": "tsup --watch",
    "lint": "eslint \"./**/*.ts*\"",
    "type-check": "tsc --noEmit",
    "prettier-check": "prettier --check \"./**/*.ts*\"",
    "test": "pnpm test:node && pnpm test:edge && pnpm test:ui",
    "test:edge": "jest --forceExit --config jest.node.config.js --env @edge-runtime/jest-environment .test.ts ",
    "test:node": "jest --forceExit --config jest.node.config.js --env node .test.ts",
    "test:ui": "jest --forceExit --config jest.ui.config.js .ui.test.ts"
  }
}