-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
134 lines (134 loc) · 3.39 KB
/
package.json
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "ai",
"version": "2.2.15",
"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/**/*"
],
"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": "jest --forceExit --env @edge-runtime/jest-environment .test.ts && jest --forceExit --env node .test.ts"
},
"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"
}
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node"
},
"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",
"@types/jest": "29.2.0",
"@types/node": "^17.0.12",
"@types/react": "^18.2.8",
"@types/react-dom": "^18.2.0",
"@vercel/ai-tsconfig": "workspace:*",
"eslint": "^7.32.0",
"eslint-config-vercel-ai": "workspace:*",
"jest": "29.2.1",
"ts-jest": "29.0.3",
"tsup": "^6.7.0",
"typescript": "5.1.3"
},
"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"
]
}