chatgpt-api/package.json

85 wiersze
1.8 KiB
JSON

{
"name": "chatgpt",
"version": "4.2.0",
"description": "Node.js client for the unofficial ChatGPT API.",
"author": "Travis Fischer <travis@transitivebullsh.it>",
"repository": "transitive-bullshit/chatgpt-api",
"license": "MIT",
"type": "module",
"source": "./src/index.ts",
"types": "./build/index.d.ts",
"exports": {
".": {
"import": "./build/index.js",
"types": "./build/index.d.ts",
"default": "./build/index.js"
}
},
"files": [
"build"
],
"engines": {
"node": ">=18"
},
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"clean": "del build",
"prebuild": "run-s clean",
"predev": "run-s clean",
"pretest": "run-s build",
"docs": "typedoc",
"prepare": "husky install",
"pre-commit": "lint-staged",
"test": "run-p test:*",
"test:prettier": "prettier '**/*.{js,jsx,ts,tsx}' --check"
},
"dependencies": {
"eventsource-parser": "^0.0.5",
"gpt-3-encoder": "^1.1.4",
"keyv": "^4.5.2",
"p-timeout": "^6.0.0",
"quick-lru": "^6.1.1",
"uuid": "^9.0.0"
},
"devDependencies": {
"@keyv/redis": "^2.5.4",
"@trivago/prettier-plugin-sort-imports": "^4.0.0",
"@types/node": "^18.11.9",
"@types/uuid": "^9.0.0",
"del-cli": "^5.0.0",
"dotenv-safe": "^8.2.0",
"husky": "^8.0.2",
"lint-staged": "^13.0.3",
"npm-run-all": "^4.1.5",
"ora": "^6.1.2",
"prettier": "^2.8.0",
"tsup": "^6.5.0",
"tsx": "^3.12.1",
"typedoc": "^0.23.21",
"typedoc-plugin-markdown": "^3.13.6",
"typescript": "^4.9.3"
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write"
]
},
"keywords": [
"openai",
"chatgpt",
"chat",
"gpt",
"gpt-3",
"gpt3",
"gpt4",
"chatbot",
"machine learning",
"conversation",
"conversational ai",
"ai",
"ml",
"bot"
]
}