-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 3.13 KB
/
Copy pathpackage.json
File metadata and controls
115 lines (115 loc) · 3.13 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
{
"name": "openai",
"version": "7.4.0",
"description": "The official TypeScript library for the OpenAI API",
"author": "OpenAI <support@openai.com>",
"types": "dist/index.d.ts",
"main": "dist/index.js",
"type": "commonjs",
"repository": "github:openai/openai-node",
"license": "Apache-2.0",
"packageManager": "pnpm@11.5.1",
"files": [
"**/*"
],
"private": false,
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=22.0.0"
},
"scripts": {
"test": "./scripts/test",
"test:unit": "vitest run --config vitest.config.mts",
"test:generated": "OPENAI_TEST_SUITE=generated ./scripts/test",
"test:live:bedrock": "jest --config jest.live.config.ts --runInBand tests/live/bedrock.live.test.ts",
"bench": "vitest bench --run --config vitest.bench.config.mts",
"bench:json": "vitest bench --run --config vitest.bench.config.mts --outputJson benchmark-results.json",
"build": "./scripts/build",
"prepublishOnly": "echo 'to publish, run pnpm build && (cd dist; npm publish)' && exit 1",
"format": "./scripts/format",
"prepare": "if ./scripts/utils/check-is-in-git-install.sh; then ./scripts/build && ./scripts/utils/git-swap.sh; fi",
"tsn": "ts-node -r tsconfig-paths/register",
"lint": "./scripts/lint"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.3",
"@aws-sdk/credential-provider-node": "^3.972.47",
"@smithy/hash-node": "^4.3.5",
"@smithy/protocol-http": "^5.4.5",
"@smithy/signature-v4": "^5.4.5",
"@swc/core": "^1.3.102",
"@swc/jest": "^0.2.29",
"@types/jest": "^30.0.0",
"@types/node": "^24.0.0",
"@types/ws": "^8.5.13",
"@types/yargs": "^17.0.35",
"deep-object-diff": "^1.1.9",
"execa": "^5.1.1",
"fast-check": "^4.9.0",
"fast-glob": "^3.3.2",
"iconv-lite": "^0.7.3",
"jest": "^30.4.2",
"oxfmt": "0.61.0",
"oxlint": "1.76.0",
"p-all": "^3.0.0",
"publint": "^0.3.22",
"signal-exit": "^4.1.0",
"superstruct": "^2.0.2",
"ts-jest": "^29.1.0",
"ts-node": "^10.5.0",
"tsconfig-paths": "^4.0.0",
"tslib": "^2.8.1",
"typescript": "6.0.3",
"typescript-4-9": "npm:typescript@4.9.5",
"ultracite": "7.10.0",
"vitest": "4.1.10",
"ws": "^8.18.0",
"yargs": "^18.1.0",
"zod": "^3.25 || ^4.0"
},
"overrides": {
"minimatch": "^9.0.5"
},
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./*.mjs": {
"default": "./dist/*.mjs"
},
"./*.js": {
"default": "./dist/*.js"
},
"./*": {
"import": "./dist/*.mjs",
"require": "./dist/*.js"
}
},
"peerDependencies": {
"@aws-sdk/credential-provider-node": ">=3.972.0 <4",
"@smithy/hash-node": ">=4.3.0 <5",
"@smithy/signature-v4": ">=5.4.0 <6",
"ws": "^8.18.0",
"zod": "^3.25 || ^4.0"
},
"peerDependenciesMeta": {
"@aws-sdk/credential-provider-node": {
"optional": true
},
"@smithy/hash-node": {
"optional": true
},
"@smithy/signature-v4": {
"optional": true
},
"ws": {
"optional": true
},
"zod": {
"optional": true
}
}
}