forked from sohanemon/AutoCommit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 2.64 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
{
"name": "auto-commit-gpt",
"displayName": "Auto Commit with GPT",
"description": "Generate commit messages using ChatGPT",
"version": "2.1.2",
"homepage": "https://github.com/sohanemon/AutoCommit#readme",
"bugs": "https://github.com/sohanemon/AutoCommit/issues",
"repository": {
"type": "git",
"url": "https://github.com/sohanemon/AutoCommit"
},
"license": "MIT",
"engines": {
"vscode": "^1.76.0"
},
"publisher": "sohanemon",
"categories": [
"Other",
"SCM Providers"
],
"keywords": [
"Commit",
"AI",
"ChatGPT",
"GPT",
"git",
"repository"
],
"icon": "assets/images/icon256.png",
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "autocommit.generateAICommit",
"title": "Auto commit",
"icon": {
"dark": "assets/icons/commit-dark.svg",
"light": "assets/icons/commit-light.svg"
}
}
],
"menus": {
"scm/title": [
{
"command": "autocommit.generateAICommit",
"when": "scmProvider == git",
"group": "navigation"
}
]
},
"configuration": {
"title": "Auto Commit",
"properties": {
"autocommit.openAI.apiKey": {
"type": "string",
"default": "",
"description": "Needed for generating AI commit messages"
},
"autocommit.openAI.apiUrl": {
"type": "string",
"default": "https://api.openai.com",
"description": "Required for generating AI commit messages. Should start with \"https://\""
},
"autocommit.appearance.delimeter": {
"type": "string",
"default": "*",
"description": "Delimeter between commit lines"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"build": "npm run esbuild-base -- --sourcemap",
"watch": "npm run esbuild-base -- --sourcemap --watch",
"lint": "eslint src --ext ts",
"package": "vsce package -o packages",
"package:publish": "vsce publish"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/node": "16.x",
"@types/vscode": "^1.76.0",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"@vscode/test-electron": "^2.3.0",
"esbuild": "^0.17.14",
"eslint": "^8.36.0",
"glob": "^8.1.0",
"typescript": "^4.9.5"
},
"dependencies": {
"execa": "^7.1.1",
"openai": "^3.2.1"
}
}