Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 2.87 KB
/
Copy pathpackage.json
File metadata and controls
104 lines (104 loc) · 2.87 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
{
"name": "@openrouter/ai-sdk-provider",
"version": "3.1.0",
"type": "module",
"license": "Apache-2.0",
"pnpm": {
"overrides": {
"glob": ">=10.5.0 <11",
"js-yaml": "^3.15.2",
"vite": ">=7.3.7 <8",
"vite>esbuild": "^0.28.1"
}
},
"sideEffects": false,
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/**/*"
],
"scripts": {
"build": "pnpm clean && tsup",
"clean": "node -e \"const fs=require('node:fs'); for (const path of ['dist','internal/dist']) fs.rmSync(path,{recursive:true,force:true});\"",
"dev": "tsup --watch",
"stylecheck": "biome check",
"typecheck": "tsc --noEmit",
"format": "biome format --write",
"prepublish": "pnpm run build",
"test": "pnpm test:node && pnpm test:edge",
"test:edge": "vitest --config vitest.edge.config.ts --run",
"test:node": "vitest --config vitest.node.config.ts --run",
"test:e2e": "vitest --config vitest.e2e.config.ts --run",
"test:issues": "vitest --config vitest.issues.config.ts --run",
"check:consumer-types": "node scripts/check-consumer-types.mjs",
"changeset": "changeset",
"changeset-version": "changeset version",
"changeset-publish": "pnpm build && pnpm test && changeset publish --provenance"
},
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./internal": {
"types": "./dist/internal/index.d.ts",
"import": "./dist/internal/index.js",
"default": "./dist/internal/index.js"
}
},
"dependencies": {
"undici": "^7.29.1"
},
"devDependencies": {
"@ai-sdk/provider": "4.0.37",
"@ai-sdk/provider-utils": "5.0.76",
"@ai-sdk/test-server": "2.0.4",
"@biomejs/biome": "2.3.7",
"@changesets/changelog-github": "0.5.1",
"@changesets/cli": "2.29.7",
"@edge-runtime/vm": "5.0.0",
"@types/json-schema": "7.0.15",
"@types/node": "24.2.0",
"ai": "7.0.166",
"dotenv": "17.2.1",
"msw": "2.12.4",
"tsup": "8.5.0",
"typescript": "5.9.2",
"vite-tsconfig-paths": "5.1.4",
"vitest": "4.1.12"
},
"peerDependencies": {
"@ai-sdk/provider": "^4.0.30",
"@ai-sdk/provider-utils": "^5.0.63",
"ai": "^7.0.144",
"zod": "^3.25.76 || ^4.1.8"
},
"peerDependenciesMeta": {
"@ai-sdk/provider": {
"optional": true
},
"@ai-sdk/provider-utils": {
"optional": true
}
},
"engines": {
"node": ">=22.3.0"
},
"publishConfig": {
"access": "public"
},
"homepage": "https://github.com/OpenRouterTeam/ai-sdk-provider",
"repository": {
"type": "git",
"url": "git+https://github.com/OpenRouterTeam/ai-sdk-provider.git"
},
"bugs": {
"url": "https://github.com/OpenRouterTeam/ai-sdk-provider/issues"
},
"keywords": [
"ai"
],
"packageManager": "pnpm@10.34.5"
}