-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
200 lines (200 loc) · 5.85 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
{
"publisher": "baincd",
"name": "mini-command-palettes",
"displayName": "Mini Command Palettes",
"description": "Create custom, mini command palettes (quick-pick lists of commands)",
"version": "1.0.1",
"license": "MIT",
"engines": {
"vscode": "^1.32.0"
},
"repository": {
"type": "git",
"url": "https://github.com/baincd/vscode-mini-command-palettes"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"properties": {
"baincd.mini-command-palettes.paletteConfigs": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"matchOnDescription": {
"type": "boolean",
"default": false,
"description": "An optional flag to include the description when filtering the picks."
},
"matchOnDetail": {
"type": "boolean",
"default": false,
"description": "An optional flag to include the detail when filtering the picks."
},
"placeHolder": {
"type": "string",
"description": "An optional string to show as placeholder in the input box to guide the user what to pick on."
},
"title": {
"type": "string",
"description": "An optional string that represents the title of the quick pick."
},
"commands": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"description": "A human-readable string which is rendered prominent. Supports rendering of theme icons (https://code.visualstudio.com/api/references/icons-in-labels#icon-listing) via the $(<name>)-syntax."
},
"description": {
"type": "string",
"description": "A human-readable string which is rendered less prominent in the same line. Supports rendering of theme icons (https://code.visualstudio.com/api/references/icons-in-labels#icon-listing) via the $(<name>)-syntax."
},
"detail": {
"type": "string",
"description": "A human-readable string which is rendered less prominent in a separate line. Supports rendering of theme icons (https://code.visualstudio.com/api/references/icons-in-labels#icon-listing) via the $(<name>)-syntax."
},
"command": {
"type": "string",
"description": "Identifier of the command to execute. Command IDs can be found from the Keyboard Shortcuts UI editor."
},
"commandArgs": {
"type": "array",
"description": "Parameters passed to the command function."
},
"showWhen": {
"type": "object",
"properties": {
"extensionEnabled": {
"type": "string",
"description": "Extension ID of extension that must be installed and enabled in the current workspace for this command to be shown in the mini command palette",
"examples": [
"example.extension-id"
]
}
},
"additionalProperties": false,
"description": "Conditions that control when the command is included in the list. If no conditions are specified, command is always displayed."
}
},
"additionalProperties": false,
"required": [
"label",
"command"
],
"description": "Command line in palette",
"examples": [
{
"label": "Command Label",
"command": "Command ID"
}
]
},
"description": "Commands to display in palette",
"examples": [
[
{
"label": "Command Label",
"command": "Command ID"
},
{
"label": "Command Label",
"command": "Command ID"
}
]
]
}
},
"description": "Mini command palette",
"required": [
"commands"
],
"examples": [
{
"placeHolder": "placeholder text",
"commands": [
{
"label": "Command Label",
"command": "Command ID"
},
{
"label": "Command Label",
"command": "Command ID"
}
]
}
]
},
"description": "Configuration of mini command palettes",
"examples": [
{
"my-palette-1": {
"placeHolder": "placeholder text",
"commands": [
{
"label": "Command Label",
"command": "Command ID"
},
{
"label": "Command Label",
"command": "Command ID"
}
]
},
"my-palette-2": {
"placeHolder": "placeholder text",
"commands": [
{
"label": "Command Label",
"command": "Command ID"
},
{
"label": "Command Label",
"command": "Command ID"
}
]
}
}
]
}
}
}
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"test-compile": "tsc -p ./",
"lint": "eslint . --ext .ts,.tsx",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/chai": "^4.2.15",
"@types/glob": "^7.1.1",
"@types/mocha": "^5.2.6",
"@types/node": "^12.12.0",
"@types/vscode": "^1.32.0",
"@typescript-eslint/eslint-plugin": "^4.16.0",
"@typescript-eslint/parser": "^4.16.0",
"chai": "^4.3.4",
"eslint": "^7.21.0",
"glob": "^7.1.4",
"mocha": "^6.1.4",
"source-map-support": "^0.5.12",
"ts-loader": "^9.2.3",
"typescript": "^4.4.3",
"vscode-test": "^1.3.0",
"webpack": "^5.53.0",
"webpack-cli": "^4.8.0"
}
}