forked from d3skdev/git-prefix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
158 lines (158 loc) · 4.21 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
{
"name": "git-commit-message-helper",
"displayName": "Git commit message helper",
"description": "Prefix commit message with value in branch name.",
"version": "1.3.0",
"publisher": "D3skDev",
"author": {
"name": "Samuel Meyers",
"url": "https://github.com/srmeyers"
},
"contributors": [
{
"name": "d3skDev",
"url": "https://github.com/d3skdev"
}
],
"license": "MIT",
"homepage": "https://github.com/d3skdev/git-prefix/blob/master/README.md",
"bugs": {
"url": "https://github.com/d3skdev/git-prefix/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/d3skdev/git-prefix"
},
"engines": {
"vscode": "^1.32.0"
},
"categories": [
"Other"
],
"icon": "images/icon.png",
"preview": false,
"galleryBanner": {
"color": "#f0efe7",
"theme": "light"
},
"keywords": [
"git"
],
"activationEvents": [
"onCommand:gitPrefix.setMessage1",
"onCommand:gitPrefix.setMessage2",
"onCommand:gitPrefix.setMessage3",
"onCommand:gitPrefix.setMessage4"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "GitPrefix",
"properties": {
"gitPrefix.pattern": {
"type": "string",
"default": "(.*)",
"description": "A regular expression to extract from branch name. Should match entire branch."
},
"gitPrefix.patternIgnoreCase": {
"type": "boolean",
"default": false,
"description": "Ignore case in pattern."
},
"gitPrefix.replacement #1": {
"type": "string",
"default": "$1: Added ",
"description": "Content to place in commit message."
},
"gitPrefix.replacement #2": {
"type": "string",
"default": "$1: Updated ",
"description": "Content to place in commit message."
},
"gitPrefix.replacement #3": {
"type": "string",
"default": "$1: Fixed ",
"description": "Content to place in commit message."
},
"gitPrefix.replacement #4": {
"type": "string",
"default": "$1: Removed ",
"description": "Content to place in commit message."
}
}
},
"commands": [
{
"command": "gitPrefix.setMessage1",
"title": "Git Prefix Commit Message Helper: Added",
"icon": {
"dark": "images/add-dark.svg",
"light": "images/add-light.svg"
}
},
{
"command": "gitPrefix.setMessage2",
"title": "Git Prefix Commit Message Helper: Updated",
"icon": {
"dark": "images/update-dark.svg",
"light": "images/update-light.svg"
}
},
{
"command": "gitPrefix.setMessage3",
"title": "Git Prefix Commit Message Helper: Fixed",
"icon": {
"dark": "images/fix-dark.svg",
"light": "images/fix-light.svg"
}
},
{
"command": "gitPrefix.setMessage4",
"title": "Git Prefix Commit Message Helper: Removed",
"icon": {
"dark": "images/remove-dark.svg",
"light": "images/remove-light.svg"
}
}
],
"menus": {
"scm/title": [
{
"command": "gitPrefix.setMessage1",
"when": "scmProvider == git",
"group": "navigation"
},
{
"command": "gitPrefix.setMessage2",
"when": "scmProvider == git",
"group": "navigation"
},
{
"command": "gitPrefix.setMessage3",
"when": "scmProvider == git",
"group": "navigation"
},
{
"command": "gitPrefix.setMessage4",
"when": "scmProvider == git",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^10.12.21",
"tslint": "^5.17.0",
"typescript": "^3.3.1",
"vscode": "^1.1.28"
}
}