Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

package.json

89 lines2.2 KB

1{
2 "name": "@tanstack/ai-preact",
3 "version": "1.0.0",
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 "./ui": {
33 "types": "./dist/esm/ui.d.ts",
34 "import": "./dist/esm/ui.js"
35 },
36 "./byok": {
37 "types": "./dist/esm/byok.d.ts",
38 "import": "./dist/esm/byok.js"
39 }
40 },
41 "files": [
42 "dist",
43 "src"
44 ],
45 "scripts": {
46 "clean": "premove ./build ./dist",
47 "lint:fix": "oxlint src --type-aware --fix",
48 "test:oxlint": "oxlint src --type-aware",
49 "test:coverage": "vitest run --coverage --coverage.include='src/**' --coverage.reporter=text-summary --coverage.reporter=json-summary",
50 "test:lib": "vitest run",
51 "test:lib:dev": "pnpm test:lib --watch",
52 "test:types": "tsc",
53 "test:build": "publint --strict",
54 "build": "vite build"
55 },
56 "keywords": [
57 "ai",
58 "ai-sdk",
59 "typescript",
60 "tanstack",
61 "preact",
62 "hooks",
63 "chat",
64 "streaming",
65 "tool-calling"
66 ],
67 "dependencies": {
68 "@tanstack/ai-client": "workspace:^"
69 },
70 "devDependencies": {
71 "@mcp-ui/client": "^7.1.1",
72 "@tanstack/ai": "workspace:*",
73 "@testing-library/preact": "^3.2.4",
74 "@vitest/coverage-v8": "4.1.10",
75 "jsdom": "^27.4.0",
76 "preact": "^11.0.1",
77 "vite": "^8.2.1"
78 },
79 "peerDependencies": {
80 "@mcp-ui/client": "^7",
81 "@tanstack/ai": "workspace:^",
82 "preact": ">=10.11.0"
83 },
84 "peerDependenciesMeta": {
85 "@mcp-ui/client": {
86 "optional": true
87 }
88 }