-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 1.99 KB
/
package.json
File metadata and controls
80 lines (80 loc) · 1.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "@ai-sdk/react",
"version": "3.0.157",
"license": "Apache-2.0",
"sideEffects": false,
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"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"
},
"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": {
"@ai-sdk/provider-utils": "workspace:*",
"ai": "workspace:*",
"swr": "^2.2.5",
"throttleit": "2.1.0"
},
"devDependencies": {
"@ai-sdk/test-server": "workspace:*",
"@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",
"@vercel/ai-tsconfig": "workspace:*",
"jsdom": "^24.0.0",
"msw": "2.6.4",
"react-dom": "^18 || ^19",
"tsup": "^7.2.0",
"typescript": "5.8.3",
"zod": "3.25.76"
},
"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"
]
}