-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
218 lines (218 loc) · 11.9 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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
{
"name": "vscode-git-notify",
"displayName": "Git Notify",
"description": "Receives and shows git events from webhooks.",
"version": "0.4.2",
"publisher": "mkloubert",
"engines": {
"vscode": "^1.19.0"
},
"categories": [
"Other"
],
"keywords": [
"Gitea",
"GitHub",
"Webhooks",
"Bitbucket",
"GitLab"
],
"activationEvents": [
"*"
],
"main": "./out/extension",
"contributes": {
"configuration": {
"properties": {
"git.notify": {
"type": "object",
"scope": "resource",
"properties": {
"disableAll": {
"description": "Disable all watchers or not.",
"type": "boolean",
"default": false
},
"disabledPorts": {
"description": "One or more ports to disable (blacklist).",
"type": "array",
"items": {
"description": "The TCP port to disable.",
"type": "integer",
"minimum": 0,
"maximum": 65535
}
},
"enabledPorts": {
"description": "One or more ports to enable (whitelist).",
"type": "array",
"items": {
"description": "The TCP port to disable.",
"type": "integer",
"minimum": 0,
"maximum": 65535
}
},
"watchers": {
"description": "Defines of or more watchers which are grouped by TCP ports.",
"type": "object",
"patternProperties": {
"([0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$": {
"description": "The TCP port.",
"type": "array",
"items": {
"oneOf": [
{
"description": "Waits for GitHub webhooks on an UNSECURE HTTP connection.",
"type": "null"
},
{
"description": "Wait for webhooks of a specific git provider on an UNSECURE HTTP connection.",
"type": "string",
"enum": [
"",
"bitbucket",
"github",
"gitea",
"gitlab"
],
"default": "github"
},
{
"description": "Settings for a git provider.",
"type": "object",
"properties": {
"ca": {
"description": "The path to the SSL's ca file.",
"type": "string"
},
"cert": {
"description": "The path to the SSL's cert file.",
"type": "string"
},
"enabled": {
"description": "Indicates if watcher is enabled or not.",
"type": "boolean",
"default": true
},
"issues": {
"description": "Sets up issue based events.",
"type": "object",
"properties": {
"closed": {
"description": "Notify when issue has been closed.",
"type": "boolean",
"default": true
},
"newComment": {
"description": "Notify when a new comment has been made in an issue.",
"type": "boolean",
"default": true
},
"opened": {
"description": "Notify when new issue has been opened.",
"type": "boolean",
"default": true
},
"reopened": {
"description": "Notify when issue has been re-opened.",
"type": "boolean",
"default": true
}
}
},
"key": {
"description": "The path to the SSL's key file.",
"type": "string"
},
"name": {
"description": "A (display) name for that watcher.",
"type": "string"
},
"provider": {
"description": "The git provider.",
"type": "string",
"enum": [
"",
"bitbucket",
"github",
"gitea",
"gitlab"
],
"default": "github"
},
"pullRequests": {
"description": "Sets up pull request based events.",
"type": "object",
"properties": {
"closed": {
"description": "Notify when pull request has been closed.",
"type": "boolean",
"default": true
},
"opened": {
"description": "Notify when new pull request has been opened.",
"type": "boolean",
"default": true
},
"reopened": {
"description": "Notify when a pull request has been re-opened.",
"type": "boolean",
"default": true
}
}
},
"push": {
"description": "Notify when push has been made into the repository.",
"type": "boolean",
"default": true
},
"secret": {
"description": "A value that should be used to verify the request."
},
"secure": {
"description": "Use secure HTTP connection or not.",
"type": "boolean",
"default": false
}
}
}
]
}
}
}
}
}
}
}
}
},
"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": {
"typescript": "^2.6.1",
"vscode": "^1.1.6",
"@types/node": "^7.0.43",
"@types/mocha": "^2.2.42"
},
"dependencies": {
"moment": "^2.20.1"
},
"icon": "icon.png",
"author": {
"name": "Marcel Joachim Kloubert"
},
"repository": {
"type": "git",
"url": "https://github.com/mkloubert/vscode-git-notify"
},
"bugs": {
"url": "https://github.com/mkloubert/vscode-git-notify/issues"
},
"readmeFilename": "README.md"
}