forked from go-task/vscode-task
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
362 lines (362 loc) · 10.7 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
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
{
"name": "vscode-task",
"displayName": "Task",
"description": "A task runner / build tool that aims to be simpler and easier to use than, for example, GNU Make.",
"homepage": "https://taskfile.dev",
"icon": "res/icon.png",
"license": "MIT",
"version": "0.3.2",
"publisher": "task",
"author": {
"name": "Pete Davison",
"email": "[email protected]",
"url": "https://github.com/pd93"
},
"repository": {
"type": "git",
"url": "https://github.com/go-task/vscode-task"
},
"sponsor": {
"url": "https://taskfile.dev/donate"
},
"bugs": {
"url": "https://github.com/go-task/vscode-task/issues"
},
"keywords": [
"task",
"go-task",
"taskfile"
],
"engines": {
"vscode": "^1.76.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "vscode-task.init",
"title": "Initialize Taskfile",
"category": "Task",
"icon": "$(plus)"
},
{
"command": "vscode-task.refresh",
"title": "Refresh Tasks",
"category": "Task",
"icon": "$(refresh)"
},
{
"command": "vscode-task.viewAsList",
"title": "View as List",
"category": "Task Tree",
"icon": "$(list-tree)"
},
{
"command": "vscode-task.viewAsTree",
"title": "View as Tree",
"category": "Task Tree",
"icon": "$(list-flat)"
},
{
"command": "vscode-task.runTask",
"title": "Run Task",
"category": "Task",
"icon": "$(play)"
},
{
"command": "vscode-task.runTaskWithArgs",
"title": "Run Task With Args",
"category": "Task",
"icon": "$(run-all)"
},
{
"command": "vscode-task.runTaskPicker",
"title": "Run Task",
"category": "Task",
"icon": "$(play)"
},
{
"command": "vscode-task.runTaskPickerWithArgs",
"title": "Run Task With Args",
"category": "Task",
"icon": "$(play)"
},
{
"command": "vscode-task.runLastTask",
"title": "Run Last Task",
"category": "Task",
"icon": "$(redo)"
},
{
"command": "vscode-task.goToDefinition",
"title": "Go to Definition",
"category": "Task",
"icon": "$(go-to-file)"
},
{
"command": "vscode-task.goToDefinitionPicker",
"title": "Go to Definition",
"category": "Task",
"icon": "$(go-to-file)"
},
{
"command": "vscode-task.openInstallation",
"title": "Open Installation",
"category": "Task",
"icon": "$(globe)"
},
{
"command": "vscode-task.openUsage",
"title": "Open Usage",
"category": "Task",
"icon": "$(globe)"
},
{
"command": "vscode-task.showDebugPanel",
"title": "Show Debug Panel",
"category": "Task",
"icon": "$(debug)"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "vscode-task",
"title": "Task",
"icon": "./res/activityBarIcon.svg"
}
]
},
"views": {
"vscode-task": [
{
"id": "vscode-task.tasks",
"name": "Tasks"
}
]
},
"viewsWelcome": [
{
"view": "vscode-task.tasks",
"contents": "Task not installed. Click the button below to install it.\n[Install Task](command:vscode-task.openInstallation)\nTo learn more about how to use Task, [read our docs](https://taskfile.dev).",
"when": "vscode-task:status == 'notInstalled'"
},
{
"view": "vscode-task.tasks",
"contents": "Task is out of date. Click the button below to update it.\n[Update Task](command:vscode-task.openInstallation)\nTo learn more about how to use Task, [read our docs](https://taskfile.dev).",
"when": "vscode-task:status == 'outOfDate'"
},
{
"view": "vscode-task.tasks",
"contents": "No Taskfile found in this workspace. Click the button below to get started and initialize a new Taskfile.\n[Initialize Taskfile](command:vscode-task.init)\nTo learn more about how to use Task, [read our docs](https://taskfile.dev).",
"when": "vscode-task:status == 'noTaskfile'"
},
{
"view": "vscode-task.tasks",
"contents": "An error occurred while reading the Taskfile. [Check the output panel](command:vscode-task.showDebugPanel) for more information\nTo learn more about how to use Task, [read our docs](https://taskfile.dev).",
"when": "vscode-task:status == 'error'"
}
],
"menus": {
"commandPalette": [
{
"command": "vscode-task.runTask",
"when": "false"
},
{
"command": "vscode-task.runTaskWithArgs",
"when": "false"
},
{
"command": "vscode-task.goToDefinition",
"when": "false"
}
],
"view/title": [
{
"command": "vscode-task.openUsage",
"when": "view == vscode-task.tasks",
"group": "navigation@1"
},
{
"command": "vscode-task.refresh",
"when": "view == vscode-task.tasks",
"group": "navigation@2"
},
{
"command": "vscode-task.viewAsList",
"when": "view == vscode-task.tasks && vscode-task:treeNesting",
"group": "navigation@3"
},
{
"command": "vscode-task.viewAsTree",
"when": "view == vscode-task.tasks && !vscode-task:treeNesting",
"group": "navigation@4"
}
],
"view/item/context": [
{
"command": "vscode-task.goToDefinition",
"when": "view == vscode-task.tasks && viewItem == taskTreeItem",
"group": "inline@1"
},
{
"command": "vscode-task.runTask",
"when": "view == vscode-task.tasks && viewItem == taskTreeItem",
"group": "inline@2"
},
{
"command": "vscode-task.runTaskWithArgs",
"when": "view == vscode-task.tasks && viewItem == taskTreeItem",
"group": "inline@3"
}
]
},
"colors": [
{
"id": "vscodetask.workspaceIcon",
"description": "Color for workspace icons in the activity bar.",
"defaults": {
"dark": "#2e85e7",
"light": "#2e85e7",
"highContrast": "#2e85e7",
"highContrastLight": "#2e85e7"
}
},
{
"id": "vscodetask.namespaceIcon",
"description": "Color for namespace icons in the activity bar.",
"defaults": {
"dark": "#a677ff",
"light": "#a677ff",
"highContrast": "#a677ff",
"highContrastLight": "#a677ff"
}
},
{
"id": "vscodetask.upToDateIcon",
"description": "Color for up-to-date task icons in the activity bar.",
"defaults": {
"dark": "#00AA00",
"light": "#00AA00",
"highContrast": "#00AA00",
"highContrastLight": "#00AA00"
}
},
{
"id": "vscodetask.outOfDateIcon",
"description": "Color for out-of-date task icons in the activity bar.",
"defaults": {
"dark": "#ff9b05",
"light": "#ff9b05",
"highContrast": "#ff9b05",
"highContrastLight": "#ff9b05"
}
}
],
"configuration": {
"title": "Task configuration",
"properties": {
"task": {
"type": "object",
"description": "Task configuration options.",
"properties": {
"updateOn": {
"type": "string",
"enum": [
"save",
"manual"
],
"default": "save",
"description": "When the list of tasks should be updated."
},
"path": {
"type": "string",
"default": "task",
"description": "Path to the Task binary. Can also the name of a binary in your `$PATH`."
},
"outputTo": {
"type": "string",
"enum": [
"output",
"terminal"
],
"default": "output",
"description": "Where to print the output of tasks. Note that the output panel does not support ANSI colors."
},
"outputToNewTerminal": {
"type": "boolean",
"default": false,
"description": "When using outputTo=terminal whether to use a new Terminal instance or reuse the last instance."
},
"checkForUpdates": {
"type": "boolean",
"default": true,
"description": "Check if there is a newer version of Task on startup."
},
"tree": {
"type": "object",
"description": "Tree view configuration options.",
"properties": {
"nesting": {
"type": "boolean",
"default": true,
"description": "Whether to nest tasks by their namespace in the tree view."
},
"sort": {
"type": "string",
"enum": [
"default",
"alphanumeric",
"none"
],
"default": "default",
"description": "The order in which to display tasks in the tree view."
}
}
}
}
}
}
}
},
"scripts": {
"bundle": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node --minify",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"package": "vsce package --yarn",
"publish:vsce": "vsce publish --yarn",
"publish:ovsx": "ovsx publish --yarn",
"vscode:prepublish": "yarn run bundle"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "20.x",
"@types/strip-ansi": "3.0.0",
"@types/vscode": "^1.76.0",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.62.0",
"@vscode/test-electron": "^2.3.4",
"@vscode/vsce": "^2.19.0",
"esbuild": "^0.19.2",
"eslint": "^8.2.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"ovsx": "^0.8.1",
"typescript": "^5.0.4"
},
"dependencies": {
"@octokit/types": "^9.0.0",
"octokit": "^2.0.14",
"semver": "^7.5.0",
"strip-ansi": "6.0.1"
}
}