-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
148 lines (148 loc) · 3.91 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"name": "@johannlai/gptcli",
"version": "0.0.0-semantic-release",
"description": "",
"scripts": {
"postinstall": "node scripts/createConfig.js",
"watch": "node scripts/watch.js",
"build": "node scripts/build",
"lint": "eslint --cache .",
"type-check": "tsc",
"test": "vitest run",
"prepack": "node scripts/build && clean-pkg-json"
},
"keywords": [
"ai",
"git",
"gpt",
"chatgpt"
],
"publishConfig": {
"access": "public"
},
"release": {
"branches": [
"main"
],
"preset": "conventionalcommits",
"extends": "@semantic-release/npm",
"plugins": [
[
"semantic-release-gitmoji",
{
"releaseRules": {
"major": [
":boom:",
":fire:",
":rotating_light:",
":boom::fire:",
":boom::rotating_light:",
":boom::fire::rotating_light:",
":zap:"
],
"minor": [
":sparkles:",
":lipstick:",
":tada:",
":sparkles::lipstick:",
":sparkles::tada:",
":art:"
],
"patch": [
":bug:",
":wrench:",
":ambulance:",
":gear:",
":lock:",
":bug::ambulance:",
":bug::lock:",
":heavy_plus_sign",
":ambulance::lock:"
]
}
}
],
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
"@semantic-release/github"
]
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*.ts": "eslint --cache"
},
"license": "MIT",
"repository": "johannlai/gptcli",
"author": "ZHIHANG LI",
"type": "module",
"exports": {
"./jobs/script.js": "./dist/jobs/script.js",
"./jobs/gpt/confirm.js": "./dist/jobs/gpt/confirm.js",
"./jobs/gpt/input.js": "./dist/jobs/gpt/input.js",
"./jobs/gpt/chat.js": "./dist/jobs/gpt/chat.js",
"./jobs/gpt/createChatCompletion.js": "./dist/jobs/gpt/createChatCompletion.js",
"./jobs/gpt/copyToClipboard.js": "./dist/jobs/gpt/copyToClipboard.js"
},
"files": [
"dist",
"scripts"
],
"bin": {
"gpt": "./dist/cli.mjs",
"gptcli": "./dist/cli.mjs",
"chatgpt": "./dist/cli.mjs",
"gpt-cli": "./dist/cli.mjs"
},
"devDependencies": {
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/github": "^8.0.7",
"@semantic-release/npm": "^9.0.2",
"@semantic-release/release-notes-generator": "^10.0.3",
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@types/readable-stream": "^2.3.15",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"assert": "^2.0.0",
"clean-pkg-json": "^1.2.0",
"conventional-changelog-conventionalcommits": "^5.0.0",
"eslint": "^8.35.0",
"lint-staged": "^13.2.0",
"pkgroll": "^1.9.0",
"prettier": "^2.8.4",
"semantic-release": "20.1.3",
"semantic-release-gitmoji": "^1.6.3",
"simple-git-hooks": "^2.8.1",
"typescript": "^4.9.5",
"vitest": "^0.29.2"
},
"dependencies": {
"@dqbd/tiktoken": "^0.4.0",
"@types/ini": "^1.3.31",
"@types/inquirer": "^9.0.3",
"@types/js-yaml": "^4.0.5",
"@types/node": "^18.15.0",
"ansi-regex": "^6.0.1",
"axios": "^1.3.4",
"chalk": "^5.2.0",
"chokidar": "^3.5.3",
"cleye": "^1.3.2",
"clipboardy": "^3.0.0",
"eventsource-parser": "^0.1.0",
"ini": "^3.0.1",
"inquirer": "^9.1.4",
"install": "^0.13.0",
"js-yaml": "^4.1.0",
"log-update": "^5.0.1",
"manten": "^0.7.0",
"openai": "^3.2.1",
"ora": "^6.1.2",
"read-pkg-up": "^9.1.0",
"readable-stream": "^3.6.2",
"undici": "^5.21.0",
"update-notifier": "^6.0.2",
"web-streams-polyfill": "^3.2.1"
}
}