-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
143 lines (143 loc) · 5.52 KB
/
package.json
File metadata and controls
143 lines (143 loc) · 5.52 KB
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
{
"name": "btm-vscode",
"displayName": "Bash Task Master",
"description": "Run Bash Task Master (BTM) tasks from the editor",
"version": "0.1.0",
"engines": {
"vscode": "^1.85.0"
},
"categories": ["Other"],
"activationEvents": [
"workspaceContains:**/tasks.sh",
"workspaceContains:**/.tasks.sh"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "Bash Task Master",
"properties": {
"btm.taskMasterHome": {
"type": "string",
"default": "",
"description": "Directory containing task-runner.sh (TASK_MASTER_HOME). Leave empty to use the user's home directory. Use for testing (e.g. a dev build path)."
},
"btm.useDedicatedTerminal": {
"type": "boolean",
"default": true,
"description": "Run BTM tasks in a dedicated terminal so environment variables (e.g. from venv/gonv activate) persist. If disabled, environment variables will not be shared between individual task calls (e.g. venv/gonv activate will not persist)."
}
}
},
"taskDefinitions": [
{
"type": "btm",
"required": ["task"],
"properties": {
"task": {
"type": "string",
"description": "BTM task name"
}
}
}
],
"views": {
"explorer": [
{
"id": "btm.tasks",
"name": "Bash Task Master"
}
]
},
"commands": [
{ "command": "btm.runTask", "title": "BTM: Run Task" },
{ "command": "btm.refresh", "title": "BTM: Refresh" },
{ "command": "btm.runTaskFromTree", "title": "Run" },
{ "command": "btm.runTaskFromTreeWithArgs", "title": "Run with arguments" },
{ "command": "btm.runSubcommandFromTree", "title": "Run" },
{ "command": "btm.runSubcommandFromTreeWithArgs", "title": "Run with arguments" },
{ "command": "btm.runGlobalTaskFromTree", "title": "Run" },
{ "command": "btm.runGlobalTaskFromTreeWithArgs", "title": "Run with arguments" },
{ "command": "btm.runGlobalSubcommandFromTree", "title": "Run" },
{ "command": "btm.runGlobalSubcommandFromTreeWithArgs", "title": "Run with arguments" },
{ "command": "btm.runTaskFromTreeClick", "title": "Run" },
{ "command": "btm.runTaskFromTreeWithArgsClick", "title": "Run with arguments" },
{ "command": "btm.runSubcommandFromTreeClick", "title": "Run" },
{ "command": "btm.runSubcommandFromTreeWithArgsClick", "title": "Run with arguments" },
{ "command": "btm.runGlobalTaskFromTreeClick", "title": "Run" },
{ "command": "btm.runGlobalTaskFromTreeWithArgsClick", "title": "Run with arguments" },
{ "command": "btm.runGlobalSubcommandFromTreeClick", "title": "Run" },
{ "command": "btm.runGlobalSubcommandFromTreeWithArgsClick", "title": "Run with arguments" },
{ "command": "btm.runModuleTaskFromTree", "title": "Run" },
{ "command": "btm.runModuleTaskFromTreeWithArgs", "title": "Run with arguments" },
{ "command": "btm.runModuleSubcommandFromTree", "title": "Run" },
{ "command": "btm.runModuleSubcommandFromTreeWithArgs", "title": "Run with arguments" },
{ "command": "btm.runModuleTaskFromTreeClick", "title": "Run" },
{ "command": "btm.runModuleTaskFromTreeWithArgsClick", "title": "Run with arguments" },
{ "command": "btm.runModuleSubcommandFromTreeClick", "title": "Run" },
{ "command": "btm.runModuleSubcommandFromTreeWithArgsClick", "title": "Run with arguments" }
],
"menus": {
"view/item/context": [
{
"command": "btm.runTaskFromTree",
"when": "view == btm.tasks && viewItem == btm-task"
},
{
"command": "btm.runTaskFromTreeWithArgs",
"when": "view == btm.tasks && viewItem == btm-task"
},
{
"command": "btm.runSubcommandFromTree",
"when": "view == btm.tasks && viewItem == btm-subcommand"
},
{
"command": "btm.runSubcommandFromTreeWithArgs",
"when": "view == btm.tasks && viewItem == btm-subcommand"
},
{
"command": "btm.runGlobalTaskFromTree",
"when": "view == btm.tasks && viewItem == btm-global-task"
},
{
"command": "btm.runGlobalTaskFromTreeWithArgs",
"when": "view == btm.tasks && viewItem == btm-global-task"
},
{
"command": "btm.runGlobalSubcommandFromTree",
"when": "view == btm.tasks && viewItem == btm-global-subcommand"
},
{
"command": "btm.runGlobalSubcommandFromTreeWithArgs",
"when": "view == btm.tasks && viewItem == btm-global-subcommand"
},
{
"command": "btm.runModuleTaskFromTree",
"when": "view == btm.tasks && viewItem == btm-module-task"
},
{
"command": "btm.runModuleTaskFromTreeWithArgs",
"when": "view == btm.tasks && viewItem == btm-module-task"
},
{
"command": "btm.runModuleSubcommandFromTree",
"when": "view == btm.tasks && viewItem == btm-module-subcommand"
},
{
"command": "btm.runModuleSubcommandFromTreeWithArgs",
"when": "view == btm.tasks && viewItem == btm-module-subcommand"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"package": "vsce package"
},
"devDependencies": {
"@types/node": "^20.10.0",
"@types/vscode": "^1.85.0",
"typescript": "^5.3.0"
}
}