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

package.json

89 lines2.3 KB

1{
2 "name": "@tanstack/ai-svelte",
3 "version": "1.0.0",
4 "description": "Svelte 5 bindings for TanStack AI streaming chat, structured outputs, and media generation.",
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-svelte"
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 "svelte": "./dist/index.js",
22 "module": "./dist/index.js",
23 "types": "./dist/index.d.ts",
24 "exports": {
25 ".": {
26 "types": "./dist/index.d.ts",
27 "svelte": "./dist/index.js",
28 "import": "./dist/index.js"
29 },
30 "./ui": {
31 "types": "./dist/ui.d.ts",
32 "svelte": "./dist/ui.js",
33 "import": "./dist/ui.js"
34 },
35 "./byok": {
36 "types": "./dist/byok.d.ts",
37 "svelte": "./dist/byok.js",
38 "import": "./dist/byok.js"
39 }
40 },
41 "files": [
42 "dist",
43 "src"
44 ],
45 "scripts": {
46 "clean": "rm -rf ./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": "svelte-check",
53 "test:build": "publint --strict",
54 "build": "svelte-package -i src -o dist"
55 },
56 "keywords": [
57 "ai",
58 "ai-sdk",
59 "typescript",
60 "tanstack",
61 "svelte",
62 "svelte5",
63 "chat",
64 "streaming",
65 "tool-calling",
66 "structured-outputs",
67 "media-generation"
68 ],
69 "dependencies": {
70 "@tanstack/ai-client": "workspace:^"
71 },
72 "peerDependencies": {
73 "@tanstack/ai": "workspace:^",
74 "svelte": "^5.0.0"
75 },
76 "devDependencies": {
77 "@standard-schema/spec": "^1.1.0",
78 "@sveltejs/package": "^2.3.10",
79 "@sveltejs/vite-plugin-svelte": "^7.3.0",
80 "@tanstack/ai": "workspace:*",
81 "@types/node": "^24.10.1",
82 "@vitest/coverage-v8": "4.1.10",
83 "jsdom": "^27.4.0",
84 "svelte": "^5.56.9",
85 "svelte-check": "^4.2.0",
86 "typescript": "5.9.3",
87 "vite": "^8.2.1"
88 }