-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
162 lines (162 loc) · 3.86 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
{
"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/chocolatey-community/chocolatey-vscode/issues"
},
"homepage": "https://github.com/chocolatey-community/chocolatey-vscode",
"repository": {
"type": "git",
"url": "https://github.com/chocolatey-community/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"
}
}
}
}
}
}
}
],
"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"
}
]
},
"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 ./",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/node": "^13.13.2",
"@types/node-fetch": "^2.6.12",
"@types/vscode": "^1.44.0",
"@types/xml2js": "^0.4.5",
"tslint": "^6.1.1",
"typescript": "^3.8.3"
},
"dependencies": {
"xml2js": "^0.6.2"
},
"extensionPack": [
"ms-vscode.PowerShell",
"slevesque.vscode-zipexplorer"
]
}