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

package.json

99 lines2.5 KB

1{
2 "name": "@tanstack/ai-openai",
3 "version": "1.0.0",
4 "description": "OpenAI adapter for TanStack AI chat, tools, images, video, speech, transcription, realtime, and structured outputs.",
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-openai"
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 "./byok": {
29 "types": "./dist/esm/byok.d.ts",
30 "import": "./dist/esm/byok.js"
31 },
32 "./compatible": {
33 "types": "./dist/esm/compatible/index.d.ts",
34 "import": "./dist/esm/compatible/index.js"
35 },
36 "./siwc": {
37 "types": "./dist/esm/siwc.d.ts",
38 "import": "./dist/esm/siwc.js"
39 },
40 "./tools": {
41 "types": "./dist/esm/tools/index.d.ts",
42 "import": "./dist/esm/tools/index.js"
43 },
44 "./models": {
45 "types": "./dist/esm/models.d.ts",
46 "import": "./dist/esm/models.js"
47 },
48 "./azure-models": {
49 "types": "./dist/esm/azure-models.d.ts",
50 "import": "./dist/esm/azure-models.js"
51 }
52 },
53 "files": [
54 "dist",
55 "src"
56 ],
57 "scripts": {
58 "build": "vite build",
59 "clean": "premove ./build ./dist",
60 "lint:fix": "oxlint src --type-aware --fix",
61 "test:build": "publint --strict",
62 "test:oxlint": "oxlint src --type-aware",
63 "test:coverage": "vitest run --coverage --coverage.include='src/**' --coverage.reporter=text-summary --coverage.reporter=json-summary",
64 "test:lib": "vitest run",
65 "test:lib:dev": "pnpm test:lib --watch",
66 "test:types": "tsc"
67 },
68 "keywords": [
69 "ai",
70 "ai-sdk",
71 "typescript",
72 "tanstack",
73 "openai",
74 "gpt",
75 "adapter",
76 "chat",
77 "tool-calling",
78 "structured-outputs",
79 "image-generation",
80 "video-generation",
81 "text-to-speech",
82 "transcription",
83 "realtime"
84 ],
85 "dependencies": {
86 "@tanstack/ai-utils": "workspace:^",
87 "@tanstack/openai-base": "workspace:^",
88 "openai": "^7.30.0"
89 },
90 "peerDependencies": {
91 "@tanstack/ai": "workspace:^"
92 },
93 "devDependencies": {
94 "@tanstack/ai": "workspace:*",
95 "@vitest/coverage-v8": "4.1.10",
96 "vite": "^8.2.1",
97 "zod": "^4.2.0"
98 }