-
Notifications
You must be signed in to change notification settings - Fork 870
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow installing package directly from github (#522)
- Loading branch information
1 parent
7626655
commit 51926d7
Showing
3 changed files
with
53 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,53 @@ | ||
{ | ||
"name": "openai", | ||
"version": "4.19.1", | ||
"description": "Client library for the OpenAI API", | ||
"description": "The official TypeScript library for the OpenAI API", | ||
"author": "OpenAI <[email protected]>", | ||
"types": "dist/index.d.ts", | ||
"main": "dist/index.js", | ||
"type": "commonjs", | ||
"repository": "github:openai/openai-node", | ||
"license": "Apache-2.0", | ||
"private": false, | ||
"scripts": { | ||
"test": "bin/check-test-server && yarn jest", | ||
"build": "bash ./build", | ||
"prepack": "echo 'to pack, run yarn build && (cd dist; yarn pack)' && exit 1", | ||
"prepublishOnly": "echo 'to publish, run yarn build && (cd dist; yarn publish)' && exit 1", | ||
"format": "prettier --write --cache --cache-strategy metadata . !dist", | ||
"prepare": "npm run build", | ||
"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" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^29.4.0", | ||
"@typescript-eslint/eslint-plugin": "^6.7.0", | ||
"@typescript-eslint/parser": "^6.7.0", | ||
"eslint": "^8.49.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"eslint-plugin-unused-imports": "^2.0.0", | ||
"jest": "^29.4.0", | ||
"openai": "file:.", | ||
"prettier": "rattrayalex/prettier#postfix-ternaries", | ||
"ts-jest": "^29.1.0", | ||
"ts-morph": "^19.0.0", | ||
"ts-node": "^10.5.0", | ||
"tsc-multi": "^1.1.0", | ||
"tsconfig-paths": "^4.0.0", | ||
"typescript": "^4.8.2" | ||
}, | ||
"sideEffects": [ | ||
"./_shims/index.js", | ||
"./_shims/index.mjs", | ||
|
@@ -75,43 +114,5 @@ | |
"default": "./dist/*.mjs" | ||
} | ||
}, | ||
"scripts": { | ||
"test": "bin/check-test-server && yarn jest", | ||
"build": "bash ./build", | ||
"prepack": "echo 'to pack, run yarn build && (cd dist; yarn pack)' && exit 1", | ||
"prepublishOnly": "echo 'to publish, run yarn build && (cd dist; yarn publish)' && exit 1", | ||
"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" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^29.4.0", | ||
"@typescript-eslint/eslint-plugin": "^6.7.0", | ||
"@typescript-eslint/parser": "^6.7.0", | ||
"eslint": "^8.49.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"eslint-plugin-unused-imports": "^2.0.0", | ||
"jest": "^29.4.0", | ||
"openai": "link:.", | ||
"prettier": "rattrayalex/prettier#postfix-ternaries", | ||
"ts-jest": "^29.1.0", | ||
"ts-morph": "^19.0.0", | ||
"ts-node": "^10.5.0", | ||
"tsc-multi": "^1.1.0", | ||
"tsconfig-paths": "^4.0.0", | ||
"typescript": "^4.8.2" | ||
}, | ||
"bin": "./bin/cli" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters