-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 2.04 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "chatgpt-cli-chat",
"version": "0.0.0",
"description": "Interactive terminal based conversations with chatgpt and the openai api",
"engines": {
"node": ">= 16 <19"
},
"devDependencies": {
"@types/debug": "^4.1.7",
"@types/elegant-spinner": "^2.0.1",
"@types/jest": "~29.5",
"@types/node": "~18",
"@typescript-eslint/eslint-plugin": "~5.59",
"@typescript-eslint/parser": "~5.59",
"eslint": "~8.38",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "~8.8",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "~27.2",
"eslint-plugin-promise": "^6.1.1",
"jest": "~29.5",
"nodemon": "^2.0.22",
"prettier": "~2.8",
"rimraf": "~5.0",
"ts-api-utils": "~0.0.44",
"ts-jest": "~29.1",
"ts-node": "^10.9.1",
"typescript": "~5.0"
},
"scripts": {
"start": "node build/src/main.js",
"chat": "ts-node src/chat.ts",
"chat:dev": "nodemon src/chat.ts",
"tune": "ts-node src/finetuning.ts",
"tune:dev": "nodemon src/finetuning.ts",
"clean": "rimraf coverage build tmp",
"prebuild": "npm run lint",
"build": "tsc -p tsconfig.json && chmod +x build/src/*",
"build:watch": "tsc -w -p tsconfig.json",
"build:release": "npm run clean && tsc -p tsconfig.release.json",
"lint": "eslint . --ext .ts --ext .mts",
"test": "jest --coverage",
"prettier": "prettier --config .prettierrc --write .",
"test:watch": "jest --watch"
},
"author": "Edouard BATIGA <[email protected]>",
"license": "MIT",
"dependencies": {
"@types/lowdb": "^1.0.11",
"@types/prompt": "^1.1.5",
"axios": "^1.4.0",
"debug": "^4.3.4",
"dotenv": "^16.0.3",
"elegant-spinner": "^3.0.0",
"log-update": "^5.0.1",
"lowdb": "^6.0.1",
"openai": "^3.2.1",
"ora": "^6.3.0",
"prompt": "^1.3.0",
"tslib": "~2.5"
},
"volta": {
"node": "18.12.1"
},
"bin": {
"chatgpt": "./build/src/chat.js",
"tunegpt": "./build/src/finetune.js"
},
"nodemonConfig": {
"ignore": [
"db/*"
]
}
}