Open History to see the last commit
1{
2 "name": "@tanstack/ai-grok",
3 "version": "1.0.0",
4 "description": "xAI Grok adapter for TanStack AI chat, image generation, 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-grok"
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 "./tools": {
33 "types": "./dist/esm/tools/index.d.ts",
34 "import": "./dist/esm/tools/index.js"
35 },
36 "./vertex": {
37 "types": "./dist/esm/vertex/index.d.ts",
38 "import": "./dist/esm/vertex/index.js"
39 }
40 },
41 "files": [
42 "dist",
43 "src"
44 ],
45 "scripts": {
46 "build": "vite build",
47 "clean": "premove ./build ./dist",
48 "lint:fix": "oxlint src --type-aware --fix",
49 "test:build": "publint --strict",
50 "test:oxlint": "oxlint src --type-aware",
51 "test:coverage": "vitest run --coverage --coverage.include='src/**' --coverage.reporter=text-summary --coverage.reporter=json-summary",
52 "test:lib": "vitest run",
53 "test:lib:dev": "pnpm test:lib --watch",
54 "test:types": "tsc"
55 },
56 "keywords": [
57 "ai",
58 "ai-sdk",
59 "typescript",
60 "tanstack",
61 "grok",
62 "xai",
63 "adapter",
64 "chat",
65 "tool-calling",
66 "structured-outputs",
67 "image-generation",
68 "realtime"
69 ],
70 "dependencies": {
71 "@tanstack/ai-utils": "workspace:^",
72 "@tanstack/openai-base": "workspace:^",
73 "openai": "^7.30.0"
74 },
75 "devDependencies": {
76 "@tanstack/ai": "workspace:*",
77 "@vitest/coverage-v8": "4.1.10",
78 "google-auth-library": "^10.5.0",
79 "vite": "^8.2.1"
80 },
81 "peerDependencies": {
82 "@tanstack/ai": "workspace:^",
83 "google-auth-library": "^10.5.0"
84 },
85 "peerDependenciesMeta": {
86 "google-auth-library": {
87 "optional": true
88 }
89 }
90}