2022-12-02 23:43:59 +00:00
|
|
|
{
|
|
|
|
"name": "chatgpt",
|
2022-12-19 04:07:26 +00:00
|
|
|
"version": "3.3.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",
|
2022-12-06 06:42:06 +00:00
|
|
|
"types": "./build/index.d.ts",
|
|
|
|
"default": "./build/index.js"
|
2022-12-05 01:55:20 +00:00
|
|
|
}
|
2022-12-02 23:43:59 +00:00
|
|
|
},
|
|
|
|
"files": [
|
2022-12-17 09:12:58 +00:00
|
|
|
"build",
|
|
|
|
"third-party"
|
2022-12-02 23:43:59 +00:00
|
|
|
],
|
|
|
|
"engines": {
|
2022-12-12 17:23:03 +00:00
|
|
|
"node": ">=18"
|
2022-12-02 23:43:59 +00:00
|
|
|
},
|
|
|
|
"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": {
|
2022-12-12 19:46:33 +00:00
|
|
|
"delay": "^5.0.0",
|
2022-12-05 05:13:36 +00:00
|
|
|
"eventsource-parser": "^0.0.5",
|
|
|
|
"expiry-map": "^2.0.0",
|
2022-12-15 04:41:43 +00:00
|
|
|
"html-to-md": "^0.8.3",
|
2022-12-07 04:07:14 +00:00
|
|
|
"p-timeout": "^6.0.0",
|
2022-12-12 19:46:33 +00:00
|
|
|
"puppeteer-extra": "^3.3.4",
|
2022-12-18 05:30:51 +00:00
|
|
|
"puppeteer-extra-plugin-recaptcha": "npm:@fisch0920/puppeteer-extra-plugin-recaptcha@^3.6.6",
|
2022-12-12 19:46:33 +00:00
|
|
|
"puppeteer-extra-plugin-stealth": "^2.11.1",
|
2022-12-17 22:43:40 +00:00
|
|
|
"random": "^4.1.0",
|
2022-12-05 05:13:36 +00:00
|
|
|
"remark": "^14.0.2",
|
|
|
|
"strip-markdown": "^5.0.0",
|
2022-12-12 19:46:33 +00:00
|
|
|
"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 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",
|
2022-12-12 11:28:53 +00:00
|
|
|
"puppeteer": "^19.4.0",
|
2022-12-02 23:43:59 +00:00
|
|
|
"tsup": "^6.5.0",
|
|
|
|
"tsx": "^3.12.1",
|
|
|
|
"typedoc": "^0.23.21",
|
|
|
|
"typedoc-plugin-markdown": "^3.13.6",
|
|
|
|
"typescript": "^4.9.3"
|
|
|
|
},
|
2022-12-12 17:23:03 +00:00
|
|
|
"peerDependencies": {
|
|
|
|
"puppeteer": "*"
|
2022-12-07 04:07:14 +00:00
|
|
|
},
|
2022-12-02 23:43:59 +00:00
|
|
|
"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"
|
2022-12-07 04:07:14 +00:00
|
|
|
]
|
2022-12-02 23:43:59 +00:00
|
|
|
}
|