chatgpt-api/package.json

90 wiersze
2.0 KiB
JSON

{
"name": "chatgpt",
"version": "5.1.3",
"description": "Node.js client for the official 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",
"bin"
],
"bin": "./bin/cli.js",
"engines": {
"node": ">=14"
},
"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": {
"@dqbd/tiktoken": "^1.0.2",
"cac": "^6.7.14",
"conf": "^11.0.1",
"eventsource-parser": "^0.0.5",
"keyv": "^4.5.2",
"p-timeout": "^6.1.1",
"quick-lru": "^6.1.1",
"read-pkg-up": "^9.1.0",
"uuid": "^9.0.0"
},
"devDependencies": {
"@keyv/redis": "^2.5.6",
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@types/node": "^18.15.10",
"@types/uuid": "^9.0.1",
"del-cli": "^5.0.0",
"dotenv-safe": "^8.2.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.0",
"npm-run-all": "^4.1.5",
"ora": "^6.3.0",
"prettier": "^2.8.7",
"tsup": "^6.7.0",
"tsx": "^3.12.6",
"typedoc": "^0.23.28",
"typedoc-plugin-markdown": "^3.14.0",
"typescript": "^4.9.5"
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write"
]
},
"keywords": [
"openai",
"chatgpt",
"chat",
"gpt",
"gpt-3",
"gpt3",
"gpt4",
"chatbot",
"machine learning",
"conversation",
"conversational ai",
"ai",
"ml",
"bot"
]
}