-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
238 lines (238 loc) · 7.45 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
{
"version": "2.5.0",
"name": "make-task-provider",
"publisher": "carlos-algms",
"displayName": "Make support and task provider",
"description": "Extension to run Makefile tasks from VS Code",
"icon": "images/make_provider.png",
"repository": "https://github.com/carlos-algms/vscode-make-task-provider",
"author": {
"name": "Carlos Gomes",
"email": "vscode-publisher@gomescarlos.com"
},
"main": "./build/extension.js",
"activationEvents": [
"onCommand:workbench.action.tasks.runTask",
"onCommand:make-task-provider.runTarget",
"onView:make",
"onLanguage:makefile"
],
"contributes": {
"taskDefinitions": [
{
"type": "make",
"required": [
"targetName",
"makeFileRelativePath"
],
"properties": {
"targetName": {
"type": "string",
"description": "The make target name to run. Must exist in your Makefile"
},
"makeFileRelativePath": {
"type": "string",
"description": "Relative path to the Makefile containing your targets to be executed"
},
"args": {
"type": "array",
"description": "Arguments to pass to the make target as: make {...args} {target}"
}
}
}
],
"views": {
"explorer": [
{
"id": "make",
"name": "Makefile tasks",
"icon": "images/makefile.svg",
"visibility": "visible",
"contextualTitle": "Makefile tasks"
}
]
},
"commands": [
{
"command": "make-task-provider.runTarget",
"title": "Make: Run target",
"icon": "$(run)"
},
{
"command": "make-task-provider.executeTarget",
"title": "Make: execute a target in a terminal",
"icon": "$(run)"
},
{
"command": "make-task-provider.runTargetFromTreeView",
"title": "Run this target",
"icon": "$(run)"
},
{
"command": "make-task-provider.openMakefile",
"title": "Open file",
"icon": "$(link-external)"
},
{
"command": "make-task-provider.refresh",
"title": "Refresh",
"icon": "$(refresh)"
},
{
"command": "make-task-provider.targetFromTreeViewClicked",
"title": "target clicked"
}
],
"menus": {
"commandPalette": [
{
"command": "make-task-provider.runTargetFromTreeView",
"when": "false"
},
{
"command": "make-task-provider.executeTarget",
"when": "false"
},
{
"command": "make-task-provider.refresh",
"when": "false"
},
{
"command": "make-task-provider.targetFromTreeViewClicked",
"when": "false"
}
],
"view/title": [
{
"command": "make-task-provider.refresh",
"when": "view == make",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "make-task-provider.openMakefile",
"when": "view == make && viewItem == Makefile",
"group": "inline"
},
{
"command": "make-task-provider.runTargetFromTreeView",
"when": "view == make && viewItem == MakefileTarget",
"group": "inline"
},
{
"command": "make-task-provider.openMakefile",
"when": "view == make && viewItem == MakefileTarget",
"group": "inline"
}
]
},
"configuration": {
"title": "Make Task Provider",
"properties": {
"make-task-provider.autoDetect": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Controls whether auto detection of Make tasks is on or off.\nDefault is on."
},
"make-task-provider.telemetry": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Enable usage data and errors to be sent to an online service.\nWe follow Microsoft's privacy statement, please, find it [here](https://go.microsoft.com/fwlink/?LinkId=786907)"
},
"make-task-provider.windows.makeExecutable": {
"scope": "resource",
"type": "string",
"default": null,
"description": "The executable path to your make command in the Windows environment. \ni.e: \"C:\\Program Files\\make\\bin\\make.exe\"\nplease use a correct path, this is just an example."
},
"make-task-provider.unix.makeExecutable": {
"scope": "resource",
"type": "string",
"default": null,
"description": "The executable path to your make command in the Unix environment.\ni.e: \"/usr/bin/make\"\nplease use a correct path, this is just an example."
},
"make-task-provider.osx.makeExecutable": {
"scope": "resource",
"type": "string",
"default": null,
"description": "The executable path to your make command in the MacOS environment.\ni.e: \"/usr/bin/make\"\nplease use a correct path, this is just an example."
},
"make-task-provider.makefileNames": {
"scope": "resource",
"type": "array",
"default": [
"makefile",
"Makefile"
],
"description": "A list of file names that the extension should look for while searching the workspace.\nThis allows you to have non-standard name for your file."
},
"make-task-provider.targetsExplorerClickAction": {
"scope": "resource",
"type": "string",
"default": "run",
"enum": [
"run",
"open"
],
"markdownDescription": "The action to trigger when clicking on a target on the targets list: `open` or `run`, the default is `run`."
},
"make-task-provider.extraArguments": {
"scope": "resource",
"type": "array",
"default": [],
"markdownDescription": "Additional flags to be added to the run command like: `make {...extraFlags} {target}`"
}
}
}
},
"scripts": {
"lint": "yarn type-check && eslint src",
"watch": "nodemon --watch src -e ts --exec \"make compile\"",
"test": "make test",
"type-check": "tsc --noEmit -p ./"
},
"dependencies": {},
"devDependencies": {
"@amplitude/node": "^1.10.2",
"@sentry/node": "^7.47.0",
"@types/chai": "^4.3.4",
"@types/chai-as-promised": "^7.1.5",
"@types/glob": "^7.2.0",
"@types/mocha": "^10.0.1",
"@types/node": "^18",
"@types/sinon": "^10.0.13",
"@types/sinon-chai": "^3.2.9",
"@types/vscode": "~1.70.0",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"@vscode/test-electron": "^2.3.0",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"esbuild": "^0.17.15",
"eslint": "^8.37.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"glob": "^9.3.4",
"mocha": "^10.2.0",
"node-machine-id": "^1.1.12",
"nodemon": "^2.0.22",
"prettier": "^2.8.7",
"realpath": "^2.0.0",
"rimraf": "^4.4.1",
"sinon": "^15.0.3",
"sinon-chai": "^3.7.0",
"typescript": "^5.0.3",
"vscode-extension-analytics": "^0.0.4"
},
"engines": {
"vscode": "^1.70.0"
},
"categories": [
"Other"
]
}