Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
120 lines (120 loc) · 2.95 KB
/
Copy pathpackage.json
File metadata and controls
120 lines (120 loc) · 2.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "@diffbot/ai-sdk",
"version": "0.1.0-dev.0",
"description": "Diffbot tools and LLM provider for the Vercel AI SDK — web search, extract, DQL, ontology, and RAG",
"type": "module",
"private": true,
"packageManager": "pnpm@10.33.0",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./provider": {
"import": {
"types": "./dist/provider.d.ts",
"default": "./dist/provider.js"
},
"require": {
"types": "./dist/provider.d.cts",
"default": "./dist/provider.cjs"
}
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"provider": [
"./dist/provider.d.ts"
]
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"sideEffects": false,
"engines": {
"node": ">=20"
},
"scripts": {
"build": "tsup",
"typecheck": "tsc --noEmit",
"typecheck:examples": "tsc --noEmit -p examples/tsconfig.json",
"typecheck:docs": "node scripts/typecheck-doc-examples.mjs",
"lint": "eslint . && prettier --check .",
"test": "vitest run",
"test:live": "vitest run --config vitest.live.config.ts",
"test:peer:ai6": "pnpm add -D ai@6 @ai-sdk/openai-compatible@2 && pnpm typecheck && pnpm test",
"test:peer:ai7": "pnpm add -D ai@7 @ai-sdk/openai-compatible@3 && pnpm typecheck && pnpm test",
"test:peer:latest": "pnpm add -D ai@latest @ai-sdk/openai-compatible@latest && pnpm typecheck && pnpm test",
"test:workers": "tests/fixtures/worker/dry-run.sh"
},
"dependencies": {
"@diffbot/typescript": "^0.3.0"
},
"peerDependencies": {
"@ai-sdk/openai-compatible": "^2.0.0 || ^3.0.0",
"ai": "^6.0.0 || ^7.0.0",
"zod": "^3.25.76 || ^4.1.8"
},
"peerDependenciesMeta": {
"@ai-sdk/openai-compatible": {
"optional": true
}
},
"devDependencies": {
"@ai-sdk/openai-compatible": "^3.0.0",
"@eslint/js": "^9.20.0",
"@types/node": "^22.15.21",
"ai": "^7.0.0",
"eslint": "^9.20.0",
"jiti": "^2.7.0",
"prettier": "^3.4.2",
"tsup": "^8.5.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.24.0",
"vitest": "^3.2.1",
"zod": "^4.1.8"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/diffbot/ai-sdk.git"
},
"homepage": "https://github.com/diffbot/ai-sdk#readme",
"bugs": {
"url": "https://github.com/diffbot/ai-sdk/issues"
},
"pnpm": {
"onlyBuiltDependencies": [
"esbuild"
]
},
"keywords": [
"diffbot",
"ai-sdk",
"vercel",
"ai",
"tools",
"knowledge-graph",
"web-search",
"extraction",
"dql",
"llm"
]
}