-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 2.54 KB
/
Copy pathpackage.json
File metadata and controls
115 lines (115 loc) · 2.54 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
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
{
"name": "ai-sdk-elements",
"version": "0.4.0",
"description": "Render rich UI elements inline with LLM-streamed text. Server-side enrichment and client-side rendering for the Vercel AI SDK.",
"keywords": [
"ai",
"ai-sdk",
"elements",
"generative-ui",
"llm",
"react",
"render-tools",
"streamdown",
"streaming",
"vercel-ai-sdk"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/jacobwisniewski/ai-sdk-elements.git"
},
"files": [
"dist/**/*",
"README.md"
],
"type": "module",
"sideEffects": false,
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"server": [
"./dist/server.d.ts"
],
"react": [
"./dist/react.d.ts"
]
}
},
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./server": {
"import": {
"types": "./dist/server.d.ts",
"default": "./dist/server.js"
},
"require": {
"types": "./dist/server.d.cts",
"default": "./dist/server.cjs"
}
},
"./react": {
"import": {
"types": "./dist/react.d.ts",
"default": "./dist/react.js"
},
"require": {
"types": "./dist/react.d.cts",
"default": "./dist/react.cjs"
}
}
},
"scripts": {
"build": "pnpm clean && tsup",
"build:watch": "pnpm clean && tsup --watch",
"clean": "rm -rf dist *.tsbuildinfo",
"type-check": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"lint": "oxlint",
"fmt": "oxfmt",
"fmt:check": "oxfmt --check",
"release": "pnpm build && npm publish --provenance --access public"
},
"devDependencies": {
"@testing-library/react": "^16.3.2",
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
"ai": "^6.0.0",
"jsdom": "^28.1.0",
"oxfmt": "^0.34.0",
"oxlint": "^1.49.0",
"react": "^19.0.0",
"react-dom": "^19.2.4",
"tsup": "^8.0.0",
"typescript": "^5.8.0",
"vitest": "^3.0.0",
"zod": "^4.0.0"
},
"peerDependencies": {
"ai": "^5.0.0 || ^6.0.0",
"react": "^18 || ^19",
"zod": "^4.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"engines": {
"node": ">=18"
},
"packageManager": "pnpm@9.15.9"
}