-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (96 loc) · 2.48 KB
/
package.json
File metadata and controls
97 lines (96 loc) · 2.48 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
{
"name": "@openrouter/sdk",
"version": "0.10.1",
"author": "OpenRouter",
"description": "The OpenRouter TypeScript SDK is a type-safe toolkit for building AI applications with access to 300+ language models through a unified API.",
"keywords": [
"openrouter",
"sdk",
"typescript",
"api",
"client",
"library",
"rest",
"http",
"agent",
"ai",
"openai",
"models",
"llm"
],
"license": "Apache-2.0",
"packageManager": "pnpm@10.22.0",
"type": "module",
"main": "./esm/index.js",
"exports": {
".": {
"source": "./src/index.ts",
"types": "./esm/index.d.ts",
"default": "./esm/index.js"
},
"./package.json": "./package.json",
"./types": {
"source": "./src/types/index.ts",
"types": "./esm/types/index.d.ts",
"default": "./esm/types/index.js"
},
"./models/errors": {
"source": "./src/models/errors/index.ts",
"types": "./esm/models/errors/index.d.ts",
"default": "./esm/models/errors/index.js"
},
"./models": {
"source": "./src/models/index.ts",
"types": "./esm/models/index.d.ts",
"default": "./esm/models/index.js"
},
"./models/operations": {
"source": "./src/models/operations/index.ts",
"types": "./esm/models/operations/index.d.ts",
"default": "./esm/models/operations/index.js"
},
"./*.js": {
"source": "./src/*.ts",
"types": "./esm/*.d.ts",
"default": "./esm/*.js"
},
"./*": {
"source": "./src/*.ts",
"types": "./esm/*.d.ts",
"default": "./esm/*.js"
}
},
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/OpenRouterTeam/typescript-sdk.git"
},
"scripts": {
"lint": "eslint --cache --max-warnings=0 src",
"build": "tsc",
"prepublishOnly": "npm run build",
"typecheck": "tsc --noEmit",
"typecheck:transit": "exit 0",
"compile": "tsc",
"postinstall": "node scripts/check-types.js || true",
"test": "vitest --run --project unit",
"test:e2e": "vitest --run --project e2e",
"test:transit": "exit 0",
"test:watch": "vitest --watch --project unit"
},
"peerDependencies": {
},
"devDependencies": {
"@eslint/js": "^9.19.0",
"@types/node": "^22.13.12",
"dotenv": "^16.4.7",
"eslint": "^9.19.0",
"globals": "^15.14.0",
"typescript": "~5.8.3",
"typescript-eslint": "^8.26.0",
"vitest": "^3.2.4"
},
"dependencies": {
"zod": "^3.25.0 || ^4.0.0"
}
}