-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
183 lines (183 loc) · 6.18 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
{
"name": "git-commit-message-editor",
"displayName": "Git Commit Message Editor",
"description": "Edit commit messages via VS Code's editor and Autocomplete for Conventional Commits",
"icon": "images/icon.png",
"publisher": "phoihos",
"repository": {
"type": "git",
"url": "https://github.com/phoihos/vscode-git-commit-message-editor"
},
"bugs": {
"url": "https://github.com/phoihos/vscode-git-commit-message-editor/issues"
},
"homepage": "https://github.com/phoihos/vscode-git-commit-message-editor#readme",
"license": "MIT",
"preview": true,
"version": "0.6.3",
"engines": {
"vscode": "^1.63.0"
},
"categories": [
"Other"
],
"keywords": [
"git",
"commit",
"message",
"conventional-commits",
"conventional-changelog",
"commitizen",
"gitmoji"
],
"activationEvents": [
"onLanguage:git-commit",
"onCommand:gitCommitMessageEditor.editor.command.openEditor"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "gitCommitMessageEditor.editor.command.openEditor",
"title": "Open Commit Message Editor",
"category": "Git",
"icon": "$(edit)"
},
{
"command": "gitCommitMessageEditor.codeLens.command.showRecentCommits",
"title": "Show Recent Commits to Choose A Commit Message..."
}
],
"menus": {
"commandPalette": [
{
"command": "gitCommitMessageEditor.editor.command.openEditor",
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
},
{
"command": "gitCommitMessageEditor.codeLens.command.showRecentCommits",
"when": "false"
}
],
"scm/title": [
{
"command": "gitCommitMessageEditor.editor.command.openEditor",
"group": "navigation@1",
"title": "Edit",
"when": "scmProvider == git"
},
{
"command": "gitCommitMessageEditor.editor.command.openEditor",
"group": "inline",
"title": "Edit",
"when": "scmProvider == git"
}
]
},
"keybindings": [
{
"command": "gitCommitMessageEditor.codeLens.command.showRecentCommits",
"when": "editorLangId == git-commit && config.git.enabled && !git.missing && gitOpenRepositoryCount != 0",
"key": "ctrl+shift+'"
}
],
"configuration": {
"title": "Git Commit Message Editor",
"properties": {
"gitCommitMessageEditor.editor.keepAfterSave": {
"type": "boolean",
"default": false,
"description": "Controls whether the commit message editor tab keep or close, after saving"
},
"gitCommitMessageEditor.codeLens.recentCommits.enabled": {
"type": "boolean",
"default": true,
"description": "Controls whether the `Recent commits...` code lens feature is enabled or not"
},
"gitCommitMessageEditor.codeLens.recentCommits.maxItems": {
"type": "number",
"default": 32,
"minimum": 1,
"maximum": 128,
"description": "Specifies the maximum number of commits to show in the quick pick UI"
},
"gitCommitMessageEditor.intelliSense.completion.enabled": {
"type": "boolean",
"default": true,
"description": "Controls whether the \"Quick suggestions\" feature is enabled or not"
},
"gitCommitMessageEditor.intelliSense.completion.scopes": {
"type": "array",
"default": [],
"description": "Scopes that user created (Scopes will be saved into `workspace/.vscode/settings.json`)"
},
"gitCommitMessageEditor.intelliSense.completion.logScopes.enabled": {
"type": "boolean",
"default": false,
"description": "Controls whether the scope suggestions include or not the parsed scopes from existing commit history"
},
"gitCommitMessageEditor.intelliSense.completion.issues.pageSize": {
"type": "number",
"default": 20,
"minimum": 1,
"maximum": 100,
"description": "Specifies the maximum number of issues per page to show in the suggestions widget"
},
"gitCommitMessageEditor.intelliSense.hover.enabled": {
"type": "boolean",
"default": true,
"description": "Controls whether the \"Hover\" feature is enabled or not"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"test-compile": "tsc -p ./",
"test-watch": "tsc -watch -p ./",
"pretest": "npm run test-compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"release": "standard-version --skip.tag",
"release-m": "npm run release -- --release-as major",
"release-n": "npm run release -- --release-as minor",
"release-p": "npm run release -- --release-as patch",
"release:tag": "standard-version --skip.bump --skip.changelog --skip.commit"
},
"standard-version": {
"scripts": {
"postchangelog": "replace '\\s*\\(\\[[a-f\\d]+\\]\\(h-null\\)\\)' '' CHANGELOG.md && replace '\\[(.+)\\]\\(v-null\\)' '$1' CHANGELOG.md && replace '(\\r?\\n){3,}' '$1$1' CHANGELOG.md"
}
},
"devDependencies": {
"@octokit/openapi-types": "^12.11.0",
"@octokit/request-error": "^3.0.3",
"@types/glob": "^8.1.0",
"@types/marked": "^4.0.8",
"@types/mocha": "^10.0.1",
"@types/node": "^16.18.16",
"@types/vscode": "^1.63.0",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"eslint": "^8.36.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"replace": "^1.2.2",
"standard-version": "^9.5.0",
"ts-loader": "^9.4.2",
"typescript": "^4.9.5",
"vscode-test": "^1.6.1",
"webpack": "^5.76.1",
"webpack-cli": "^5.0.1"
},
"dependencies": {
"@octokit/rest": "^19.0.7",
"@phoihos/vsce-util": "github:phoihos/vsce-util#v0.1.0",
"conventional-commit-types": "^3.0.0",
"gitmojis": "^3.13.4",
"marked": "^4.2.12"
}
}