generated from ShadowVR/AI_botter
104 lines
2.7 KiB
JSON
104 lines
2.7 KiB
JSON
|
{
|
||
|
"name": "openai",
|
||
|
"version": "4.26.0",
|
||
|
"description": "The official TypeScript library for the OpenAI API",
|
||
|
"author": "OpenAI <support@openai.com>",
|
||
|
"types": "./index.d.ts",
|
||
|
"main": "./index.js",
|
||
|
"type": "commonjs",
|
||
|
"repository": "github:openai/openai-node",
|
||
|
"license": "Apache-2.0",
|
||
|
"packageManager": "yarn@1.22.21",
|
||
|
"private": false,
|
||
|
"scripts": {
|
||
|
"test": "bin/check-test-server && yarn jest",
|
||
|
"build": "bash ./build",
|
||
|
"format": "prettier --write --cache --cache-strategy metadata . !dist",
|
||
|
"tsn": "ts-node -r tsconfig-paths/register",
|
||
|
"lint": "eslint --ext ts,js .",
|
||
|
"fix": "eslint --fix --ext ts,js ."
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@types/node": "^18.11.18",
|
||
|
"@types/node-fetch": "^2.6.4",
|
||
|
"abort-controller": "^3.0.0",
|
||
|
"agentkeepalive": "^4.2.1",
|
||
|
"digest-fetch": "^1.3.0",
|
||
|
"form-data-encoder": "1.7.2",
|
||
|
"formdata-node": "^4.3.2",
|
||
|
"node-fetch": "^2.6.7",
|
||
|
"web-streams-polyfill": "^3.2.1"
|
||
|
},
|
||
|
"sideEffects": [
|
||
|
"./_shims/index.js",
|
||
|
"./_shims/index.mjs",
|
||
|
"./shims/node.js",
|
||
|
"./shims/node.mjs",
|
||
|
"./shims/web.js",
|
||
|
"./shims/web.mjs"
|
||
|
],
|
||
|
"imports": {
|
||
|
"openai": ".",
|
||
|
"openai/*": "./src/*"
|
||
|
},
|
||
|
"exports": {
|
||
|
"./_shims/auto/*": {
|
||
|
"deno": {
|
||
|
"types": "./_shims/auto/*.d.ts",
|
||
|
"require": "./_shims/auto/*.js",
|
||
|
"default": "./_shims/auto/*.mjs"
|
||
|
},
|
||
|
"bun": {
|
||
|
"types": "./_shims/auto/*.d.ts",
|
||
|
"require": "./_shims/auto/*-bun.js",
|
||
|
"default": "./_shims/auto/*-bun.mjs"
|
||
|
},
|
||
|
"browser": {
|
||
|
"types": "./_shims/auto/*.d.ts",
|
||
|
"require": "./_shims/auto/*.js",
|
||
|
"default": "./_shims/auto/*.mjs"
|
||
|
},
|
||
|
"worker": {
|
||
|
"types": "./_shims/auto/*.d.ts",
|
||
|
"require": "./_shims/auto/*.js",
|
||
|
"default": "./_shims/auto/*.mjs"
|
||
|
},
|
||
|
"workerd": {
|
||
|
"types": "./_shims/auto/*.d.ts",
|
||
|
"require": "./_shims/auto/*.js",
|
||
|
"default": "./_shims/auto/*.mjs"
|
||
|
},
|
||
|
"node": {
|
||
|
"types": "./_shims/auto/*-node.d.ts",
|
||
|
"require": "./_shims/auto/*-node.js",
|
||
|
"default": "./_shims/auto/*-node.mjs"
|
||
|
},
|
||
|
"types": "./_shims/auto/*.d.ts",
|
||
|
"require": "./_shims/auto/*.js",
|
||
|
"default": "./_shims/auto/*.mjs"
|
||
|
},
|
||
|
".": {
|
||
|
"require": {
|
||
|
"types": "./index.d.ts",
|
||
|
"default": "./index.js"
|
||
|
},
|
||
|
"types": "./index.d.mts",
|
||
|
"default": "./index.mjs"
|
||
|
},
|
||
|
"./*.mjs": {
|
||
|
"types": "./*.d.ts",
|
||
|
"default": "./*.mjs"
|
||
|
},
|
||
|
"./*.js": {
|
||
|
"types": "./*.d.ts",
|
||
|
"default": "./*.js"
|
||
|
},
|
||
|
"./*": {
|
||
|
"types": "./*.d.ts",
|
||
|
"require": "./*.js",
|
||
|
"default": "./*.mjs"
|
||
|
}
|
||
|
},
|
||
|
"bin": "./bin/cli"
|
||
|
}
|