Open History to see the last commit
1{
2 "name": "@tanstack/ai-preact",
3 "version": "0.12.2",
4 "description": "Preact hooks for TanStack AI streaming chat and typed messages.",
5 "author": "Tanner Linsley",
6 "license": "MIT",
7 "homepage": "https://tanstack.com/ai",
8 "repository": {
9 "type": "git",
10 "url": "git+https://github.com/TanStack/ai.git",
11 "directory": "packages/ai-preact"
12 },
13 "bugs": {
14 "url": "https://github.com/TanStack/ai/issues"
15 },
16 "funding": {
17 "type": "github",
18 "url": "https://github.com/sponsors/tannerlinsley"
19 },
20 "type": "module",
21 "module": "./dist/esm/index.js",
22 "types": "./dist/esm/index.d.ts",
23 "exports": {
24 ".": {
25 "types": "./dist/esm/index.d.ts",
26 "import": "./dist/esm/index.js"
27 },
28 "./mcp-apps": {
29 "types": "./dist/esm/mcp-apps.d.ts",
30 "import": "./dist/esm/mcp-apps.js"
31 }
32 },
33 "files": [
34 "dist",
35 "src"
36 ],
37 "scripts": {
38 "clean": "premove ./build ./dist",
39 "lint:fix": "oxlint src --type-aware --fix",
40 "test:oxlint": "oxlint src --type-aware",
41 "test:lib": "vitest run",
42 "test:lib:dev": "pnpm test:lib --watch",
43 "test:types": "tsc",
44 "test:build": "publint --strict",
45 "build": "vite build"
46 },
47 "keywords": [
48 "ai",
49 "ai-sdk",
50 "typescript",
51 "tanstack",
52 "preact",
53 "hooks",
54 "chat",
55 "streaming",
56 "tool-calling"
57 ],
58 "dependencies": {
59 "@tanstack/ai-client": "workspace:^"
60 },
61 "devDependencies": {
62 "@mcp-ui/client": "^7.1.1",
63 "@tanstack/ai": "workspace:*",
64 "@testing-library/preact": "^3.2.4",
65 "@vitest/coverage-v8": "4.0.14",
66 "jsdom": "^27.2.0",
67 "preact": "^10.26.9",
68 "vite": "^8.1.4"
69 },
70 "peerDependencies": {
71 "@mcp-ui/client": "^7",
72 "@tanstack/ai": "workspace:^",
73 "preact": ">=10.11.0"
74 },
75 "peerDependenciesMeta": {
76 "@mcp-ui/client": {
77 "optional": true
78 }
79 }
80}