|
1 | 1 | {
|
2 | 2 | "name": "openai",
|
3 |
| - "version": "4.19.1", |
4 |
| - "description": "Client library for the OpenAI API", |
| 3 | + "version": "4.20.0", |
| 4 | + "description": "The official TypeScript library for the OpenAI API", |
5 | 5 | "author": "OpenAI <[email protected]>",
|
6 | 6 | "types": "dist/index.d.ts",
|
7 | 7 | "main": "dist/index.js",
|
8 | 8 | "type": "commonjs",
|
9 | 9 | "repository": "github:openai/openai-node",
|
10 | 10 | "license": "Apache-2.0",
|
11 | 11 | "private": false,
|
| 12 | + "scripts": { |
| 13 | + "test": "bin/check-test-server && yarn jest", |
| 14 | + "build": "bash ./build", |
| 15 | + "prepack": "echo 'to pack, run yarn build && (cd dist; yarn pack)' && exit 1", |
| 16 | + "prepublishOnly": "echo 'to publish, run yarn build && (cd dist; yarn publish)' && exit 1", |
| 17 | + "format": "prettier --write --cache --cache-strategy metadata . !dist", |
| 18 | + "prepare": "npm run build", |
| 19 | + "tsn": "ts-node -r tsconfig-paths/register", |
| 20 | + "lint": "eslint --ext ts,js .", |
| 21 | + "fix": "eslint --fix --ext ts,js ." |
| 22 | + }, |
| 23 | + "dependencies": { |
| 24 | + "@types/node": "^18.11.18", |
| 25 | + "@types/node-fetch": "^2.6.4", |
| 26 | + "abort-controller": "^3.0.0", |
| 27 | + "agentkeepalive": "^4.2.1", |
| 28 | + "digest-fetch": "^1.3.0", |
| 29 | + "form-data-encoder": "1.7.2", |
| 30 | + "formdata-node": "^4.3.2", |
| 31 | + "node-fetch": "^2.6.7", |
| 32 | + "web-streams-polyfill": "^3.2.1" |
| 33 | + }, |
| 34 | + "devDependencies": { |
| 35 | + "@types/jest": "^29.4.0", |
| 36 | + "@typescript-eslint/eslint-plugin": "^6.7.0", |
| 37 | + "@typescript-eslint/parser": "^6.7.0", |
| 38 | + "eslint": "^8.49.0", |
| 39 | + "eslint-plugin-prettier": "^4.0.0", |
| 40 | + "eslint-plugin-unused-imports": "^2.0.0", |
| 41 | + "jest": "^29.4.0", |
| 42 | + "openai": "file:.", |
| 43 | + "prettier": "rattrayalex/prettier#postfix-ternaries", |
| 44 | + "ts-jest": "^29.1.0", |
| 45 | + "ts-morph": "^19.0.0", |
| 46 | + "ts-node": "^10.5.0", |
| 47 | + "tsc-multi": "^1.1.0", |
| 48 | + "tsconfig-paths": "^4.0.0", |
| 49 | + "typescript": "^4.8.2" |
| 50 | + }, |
12 | 51 | "sideEffects": [
|
13 | 52 | "./_shims/index.js",
|
14 | 53 | "./_shims/index.mjs",
|
|
75 | 114 | "default": "./dist/*.mjs"
|
76 | 115 | }
|
77 | 116 | },
|
78 |
| - "scripts": { |
79 |
| - "test": "bin/check-test-server && yarn jest", |
80 |
| - "build": "bash ./build", |
81 |
| - "prepack": "echo 'to pack, run yarn build && (cd dist; yarn pack)' && exit 1", |
82 |
| - "prepublishOnly": "echo 'to publish, run yarn build && (cd dist; yarn publish)' && exit 1", |
83 |
| - "format": "prettier --write --cache --cache-strategy metadata . !dist", |
84 |
| - "tsn": "ts-node -r tsconfig-paths/register", |
85 |
| - "lint": "eslint --ext ts,js .", |
86 |
| - "fix": "eslint --fix --ext ts,js ." |
87 |
| - }, |
88 |
| - "dependencies": { |
89 |
| - "@types/node": "^18.11.18", |
90 |
| - "@types/node-fetch": "^2.6.4", |
91 |
| - "abort-controller": "^3.0.0", |
92 |
| - "agentkeepalive": "^4.2.1", |
93 |
| - "digest-fetch": "^1.3.0", |
94 |
| - "form-data-encoder": "1.7.2", |
95 |
| - "formdata-node": "^4.3.2", |
96 |
| - "node-fetch": "^2.6.7", |
97 |
| - "web-streams-polyfill": "^3.2.1" |
98 |
| - }, |
99 |
| - "devDependencies": { |
100 |
| - "@types/jest": "^29.4.0", |
101 |
| - "@typescript-eslint/eslint-plugin": "^6.7.0", |
102 |
| - "@typescript-eslint/parser": "^6.7.0", |
103 |
| - "eslint": "^8.49.0", |
104 |
| - "eslint-plugin-prettier": "^4.0.0", |
105 |
| - "eslint-plugin-unused-imports": "^2.0.0", |
106 |
| - "jest": "^29.4.0", |
107 |
| - "openai": "link:.", |
108 |
| - "prettier": "rattrayalex/prettier#postfix-ternaries", |
109 |
| - "ts-jest": "^29.1.0", |
110 |
| - "ts-morph": "^19.0.0", |
111 |
| - "ts-node": "^10.5.0", |
112 |
| - "tsc-multi": "^1.1.0", |
113 |
| - "tsconfig-paths": "^4.0.0", |
114 |
| - "typescript": "^4.8.2" |
115 |
| - }, |
116 | 117 | "bin": "./bin/cli"
|
117 | 118 | }
|
0 commit comments