-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
309 lines (309 loc) · 10.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
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
{
"name": "mateo",
"displayName": "mateo",
"description": "mateo",
"publisher": "viadee",
"icon": "resources/images/mateo.png",
"galleryBanner": {
"color": "#1e1e1e",
"theme": "dark"
},
"repository": {
"type": "git",
"url": "https://github.com/viadee/mateo-vscode-extension"
},
"keywords": [
"test automation",
"robotic process automation",
"rpa"
],
"version": "3.12.0-SNAPSHOT",
"engines": {
"vscode": "1.57.0"
},
"categories": [
"Programming Languages"
],
"activationEvents": ["onLanguage:mateo"],
"main": "./out/extension.js",
"browser": "./dist/web/extension.js",
"contributes": {
"languages": [
{
"id": "mateo",
"icon": {
"light": "./resources/images/icons/mateoScript-icon.svg",
"dark": "./resources/images/icons/mateoScript-icon.svg"
},
"aliases": [
"mateoScript"
],
"extensions": [
".mateo",
".mrepo"
],
"configuration": "./language-configuration.json"
},
{
"id": "Log",
"aliases": [
"log"
],
"extensions": [
".log"
],
"configuration": "./language-configuration.json",
"mimetypes": [
"log",
"text/log",
"text/x-log",
"text/x-code-output",
"x-code-output"
]
}
],
"grammars": [
{
"language": "mateo",
"scopeName": "source.mateo",
"path": "./syntaxes/mateo.tmLanguage.json"
},
{
"language": "Log",
"scopeName": "code.log",
"path": "./syntaxes/log.tmLanguage"
}
],
"snippets": [
{
"language": "mateo",
"path": "./snippets.json"
}
],
"commands": [
{
"command": "extension.mateo.runFullScript",
"title": "mateo: Execute Script",
"icon": "$(debug-start)"
},
{
"command": "extension.mateo.abort",
"title": "mateo: Abort script runs",
"icon": "$(debug-stop)"
},
{
"command": "extension.mateo.lintBP",
"title": "mateo: Check for best practices",
"icon": "$(debug-console-view-icon)"
},
{
"command": "extension.mateo.runSnippet",
"title": "mateo: Execute Snippet",
"icon": "$(debug-continue)"
},
{
"command": "extension.mateo.runSingleCommand",
"title": "mateo: Execute Command(s)",
"icon": "$(debug-step-over)"
},
{
"command": "extension.mateo.validate",
"title": "mateo: Validate script or selection",
"icon": "$(check)"
},
{
"command": "extension.mateo.constantExtractor",
"title": "mateo: Extract Constant",
"icon": "$(tag-add)"
},
{
"command": "extension.mateo.resultView",
"title": "mateo: Validate script or selection",
"icon": "$(symbol-enum)"
},
{
"command": "extension.mateo.reloadGlobalRepos",
"title": "Reload the global repositories in the backend.",
"icon": "$(search-refresh)"
}
],
"keybindings": [
{
"command": "extension.mateo.validate",
"key": "ctrl+9",
"mac": "cmd+9",
"when": "editorTextFocus"
},
{
"command": "extension.mateo.abort",
"key": "ctrl+8",
"mac": "cmd+8",
"when": "editorTextFocus"
},
{
"command": "extension.mateo.runFullScript",
"key": "ctrl+0",
"mac": "cmd+0",
"when": "editorTextFocus"
}
],
"menus": {
"commandPalette": [
{
"command": "extension.mateo.validate",
"when": "editorLangId == mateo"
},
{
"command": "extension.mateo.runSnippet",
"when": "editorLangId == mateo"
},
{
"command": "extension.mateo.runFullScript",
"when": "editorLangId == mateo"
},
{
"command": "extension.mateo.abort",
"when": "editorLangId == mateo"
},
{
"command": "extension.mateo.lintBP",
"when": "editorLangId == mateo"
},
{
"command": "extension.mateo.reloadGlobalRepos",
"when": "editorLangId == mateo"
}
],
"editor/title": [
{
"command": "extension.mateo.runSingleCommand",
"when": "editorLangId == mateo",
"group": "navigation@0"
},
{
"command": "extension.mateo.runSnippet",
"when": "editorLangId == mateo",
"group": "navigation@1"
},
{
"command": "extension.mateo.runFullScript",
"when": "editorLangId == mateo",
"group": "navigation@2"
},
{
"command": "extension.mateo.abort",
"when": "editorLangId == mateo",
"group": "navigation@3"
},
{
"command": "extension.mateo.validate",
"when": "editorLangId == mateo",
"group": "navigation@4"
},
{
"command": "extension.mateo.constantExtractor",
"when": "editorLangId == mateo",
"group": "navigation@5"
},
{
"command": "extension.mateo.lintBP",
"when": "editorLangId == mateo",
"group": "navigation@6"
},
{
"command": "extension.mateo.reloadGlobalRepos",
"when": "editorLangId == mateo",
"group": "navigation@7"
}
]
},
"configuration": {
"title": "mateo",
"properties": {
"mateo.mateoHostUrl": {
"type": "string",
"default": "http://localhost:8123",
"description": "Base URL to a running mateo instance (e.g. http://localhost:8123)"
},
"mateo.snippetLanguage": {
"type": "string",
"default": "de",
"description": "Indicates in which language to retrieve the hints when hovering over keywords. Either 'de' or 'en'"
},
"mateo.user": {
"type": "string",
"default": "user",
"description": "Auth User"
},
"mateo.mateoAuthEnabled": {
"type": "boolean",
"default": false,
"description": "Activate to ask for Password for Authentication"
},
"mateo.rejectUnauthorized": {
"type": "boolean",
"default": true,
"description": "Reject https connections if they have invalid certificates. Disabling this poses a security risk, but may be necessary if you wish to use mateo with a self-signed certificate."
},
"mateo.enableOutline": {
"type": "boolean",
"default": true,
"description": "Enable outline (Go to Symbol function) for mateoScript files"
},
"mateo.openWebReport": {
"type": "boolean",
"default": true,
"description": "After script run, open report in mateo web interface instead of opening the locally saved HTML report file"
},
"mateo.validateOnSave": {
"type": "boolean",
"default": true,
"description": "Automatically validate a script on saving."
},
"mateo.bestPracticesLinter.CommentCommandBeforeControlStructure": {
"type": "boolean",
"default": true,
"description": "Check for a missing comment or comment()-command before control structures."
},
"mateo.bestPracticesLinter.CheckForCorrectNamingOfConstants": {
"type": "boolean",
"default": true,
"description": "Verify that the uppercase-only convention for naming constants has been followed."
},
"mateo.bestPracticesLinter.CheckForCorrectNamingOfVariables": {
"type": "boolean",
"default": true,
"description": "Check if the lower camelcase convention for naming variables has been followed."
},
"mateo.bestPracticesLinter.CorrectSQLCommandsOrder": {
"type": "boolean",
"default": true,
"description": "Check the match of openSQL() and closeSQL() commands and if the order of SQL commands fits."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "tslint -p ./",
"watch": "tsc -watch -p ./",
"compile-web": "webpack"
},
"dependencies": {
"axios": "^0.19.2",
"buffer": "^6.0.3",
"https-browserify": "^1.0.0",
"stream-http": "^3.2.0",
"url": "^0.11.0"
},
"devDependencies": {
"@types/node": "^10.17.60",
"@types/vscode": "1.57.0",
"ts-loader": "^9.4.2",
"tslint": "^5.16.0",
"typescript": "^4.9.5",
"webpack": "^5.76.3",
"webpack-cli": "^5.0.1"
}
}