-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpackage.json
More file actions
205 lines (204 loc) · 4.95 KB
/
package.json
File metadata and controls
205 lines (204 loc) · 4.95 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
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
{
"name": "chocolatey-vscode",
"displayName": "Chocolatey",
"publisher": "gep13",
"description": "Set of snippets and commands for helping with creating packages for Chocolatey.",
"version": "0.2.2",
"icon": "images/chocolatey.png",
"private": true,
"author": {
"name": "gep13"
},
"bugs": {
"url": "https://github.com/gep13/chocolatey-vscode/issues"
},
"homepage": "https://github.com/gep13/chocolatey-vscode",
"repository": {
"type": "git",
"url": "https://github.com/gep13/chocolatey-vscode"
},
"main": "./out/extension",
"galleryBanner": {
"color": "#DCEBFC",
"theme": "light"
},
"activationEvents": [
"onCommand:chocolatey.new",
"onCommand:chocolatey.pack",
"onCommand:chocolatey.delete",
"onCommand:chocolatey.push",
"onCommand:chocolatey.installTemplates",
"onCommand:chocolatey.apikey",
"workspaceContains:**/*.nuspec"
],
"engines": {
"vscode": "^1.30.0"
},
"categories": [
"Other"
],
"contributes": {
"configuration": [
{
"type": "object",
"title": "Chocolatey Configuration",
"properties": {
"chocolatey.templates": {
"type": "object",
"default": {
"names": [
"msi.template",
"zip.template"
],
"source": "https://chocolatey.org/api/v2/"
},
"properties": {
"names": {
"type": "array",
"description": "The names of the Chocolatey Packages which contain templates which should be installed.",
"default": [
"msi.template",
"zip.template"
]
},
"source": {
"type": "string",
"description": "The source to install the template packages from.",
"default": "https://chocolatey.org/api/v2/"
}
},
"description": "The Chocolatey Template Packages Configuration"
},
"chocolatey.commands": {
"properties": {
"type": "object",
"new": {
"type": "object",
"properties": {
"properties": {
"type": "object",
"description": "A key value pair of properties to pass to Chocolatey when creating a new package.",
"uniqueItems": true,
"title": "New package properties"
}
}
}
}
},
"chocolatey.language": {
"type": "object",
"properties": {
"allowSuppressionOfRequirements": {
"title": "Allow requirements suppression",
"type": "boolean",
"default": false,
"description": "Allow the suppression of rules that are marked as requirements"
},
"disableLanguageService": {
"title": "Disable language service",
"type": "boolean",
"default": false,
"description": "Prevent the Chocolatey Language Service from starting up"
},
"suppressedRules": {
"title": "Suppress Rules",
"type": "array",
"description": "The codes for the Chocolatey Language Service rules that should be suppressed",
"default": []
}
}
}
}
}
],
"commands": [
{
"command": "chocolatey.new",
"title": "Chocolatey: Create new Chocolatey package"
},
{
"command": "chocolatey.pack",
"title": "Chocolatey: Pack Chocolatey package(s)"
},
{
"command": "chocolatey.delete",
"title": "Chocolatey: Delete Chocolatey package(s)"
},
{
"command": "chocolatey.push",
"title": "Chocolatey: Push Chocolatey package(s)"
},
{
"command": "chocolatey.installTemplates",
"title": "Chocolatey: Install Template package(s)"
},
{
"command": "chocolatey.apikey",
"title": "Chocolatey: Add API Key"
}
],
"menus": {
"explorer/context": [
{
"when": "explorerResourceIsFolder",
"command": "chocolatey.new",
"group": "2_workspace"
},
{
"when": "resourceFilename =~ /(?<=\\.)nupkg/",
"command": "chocolatey.push",
"group": "2_workspace"
},
{
"when": "resourceFilename =~ /(?<=\\.)nuspec/",
"command": "chocolatey.pack",
"group": "2_workspace"
}
]
},
"snippets": [
{
"language": "powershell",
"path": "./snippets/powershell.json"
}
],
"languages": [
{
"id": "zip",
"extensions": [
".nupkg"
]
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/byline": "^4.2.31",
"@types/expect": "^1.20.4",
"@types/ini": "^1.3.30",
"@types/mocha": "^5.2.6",
"@types/node": "^12.0.2",
"@types/node-fetch": "^2.3.4",
"@types/xml2js": "^0.4.4",
"expect": "^24.8.0",
"mocha": "^6.1.4",
"tslint": "^5.16.0",
"typescript": "^3.4.5",
"vscode": "^1.1.34",
"vscode-jsonrpc": "^4.0.0"
},
"dependencies": {
"vscode-languageclient": "^5.2.1",
"xml2js": "^0.4.19"
},
"extensionPack": [
"ms-vscode.PowerShell",
"slevesque.vscode-zipexplorer"
]
}