2022-12-02 23:43:59 +00:00
|
|
|
{
|
|
|
|
"name": "chatgpt",
|
2022-12-06 05:58:00 +00:00
|
|
|
"version": "1.2.1",
|
2022-12-05 05:13:36 +00:00
|
|
|
"description": "Node.js client for the unofficial ChatGPT API.",
|
2022-12-02 23:43:59 +00:00
|
|
|
"author": "Travis Fischer <travis@transitivebullsh.it>",
|
|
|
|
"repository": "transitive-bullshit/chatgpt-api",
|
|
|
|
"license": "MIT",
|
2022-12-05 10:00:09 +00:00
|
|
|
"type": "module",
|
2022-12-05 09:17:14 +00:00
|
|
|
"source": "./src/index.ts",
|
2022-12-03 05:06:26 +00:00
|
|
|
"types": "./build/index.d.ts",
|
2022-12-02 23:43:59 +00:00
|
|
|
"exports": {
|
2022-12-05 01:55:20 +00:00
|
|
|
".": {
|
2022-12-05 10:00:09 +00:00
|
|
|
"import": "./build/index.js",
|
|
|
|
"default": "./build/index.js",
|
2022-12-05 07:24:22 +00:00
|
|
|
"types": "./build/index.d.ts"
|
2022-12-05 01:55:20 +00:00
|
|
|
}
|
2022-12-02 23:43:59 +00:00
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"build"
|
|
|
|
],
|
|
|
|
"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:*",
|
2022-12-05 23:09:31 +00:00
|
|
|
"test:unit": "ava",
|
2022-12-02 23:43:59 +00:00
|
|
|
"test:prettier": "prettier '**/*.{js,jsx,ts,tsx}' --check"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-12-05 05:13:36 +00:00
|
|
|
"eventsource-parser": "^0.0.5",
|
|
|
|
"expiry-map": "^2.0.0",
|
2022-12-05 23:25:40 +00:00
|
|
|
"node-fetch": "2",
|
2022-12-05 05:13:36 +00:00
|
|
|
"remark": "^14.0.2",
|
|
|
|
"strip-markdown": "^5.0.0",
|
|
|
|
"uuid": "^9.0.0"
|
2022-12-02 23:43:59 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@trivago/prettier-plugin-sort-imports": "^4.0.0",
|
|
|
|
"@types/node": "^18.11.9",
|
2022-12-05 09:39:38 +00:00
|
|
|
"@types/node-fetch": "2",
|
2022-12-05 05:13:36 +00:00
|
|
|
"@types/uuid": "^9.0.0",
|
2022-12-05 23:09:31 +00:00
|
|
|
"ava": "^5.1.0",
|
2022-12-02 23:43:59 +00:00
|
|
|
"del-cli": "^5.0.0",
|
2022-12-05 05:13:36 +00:00
|
|
|
"dotenv-safe": "^8.2.0",
|
2022-12-02 23:43:59 +00:00
|
|
|
"husky": "^8.0.2",
|
|
|
|
"lint-staged": "^13.0.3",
|
|
|
|
"npm-run-all": "^4.1.5",
|
2022-12-05 07:09:24 +00:00
|
|
|
"ora": "^6.1.2",
|
2022-12-02 23:43:59 +00:00
|
|
|
"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"
|
|
|
|
]
|
|
|
|
},
|
2022-12-05 23:09:31 +00:00
|
|
|
"ava": {
|
|
|
|
"extensions": {
|
|
|
|
"ts": "module"
|
|
|
|
},
|
|
|
|
"nodeArguments": [
|
|
|
|
"--loader=tsx"
|
|
|
|
]
|
|
|
|
},
|
2022-12-02 23:43:59 +00:00
|
|
|
"keywords": [
|
|
|
|
"openai",
|
|
|
|
"chatgpt",
|
|
|
|
"gpt",
|
|
|
|
"gpt3",
|
|
|
|
"gpt4",
|
|
|
|
"chatbot",
|
|
|
|
"chat",
|
|
|
|
"machine learning",
|
|
|
|
"conversation",
|
|
|
|
"conversational ai",
|
|
|
|
"ai",
|
|
|
|
"ml",
|
|
|
|
"bot"
|
|
|
|
]
|
|
|
|
}
|