forked from microsoft/vscode-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
210 lines (210 loc) · 6.24 KB
/
Copy pathpackage.json
File metadata and controls
210 lines (210 loc) · 6.24 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
206
207
208
209
210
{
"name": "vscode-docker",
"version": "0.0.16",
"publisher": "PeterJausovec",
"displayName": "Docker",
"description": "Adds syntax highlighting, snippets, commands, hover tips, and linting for Dockerfile and docker-compose files.",
"license": "SEE LICENSE IN LICENSE.md",
"icon": "images/docker_icon.png",
"aiKey": "AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217",
"galleryBanner": {
"color": "#5c2d91",
"theme": "dark"
},
"categories": [
"Languages",
"Snippets"
],
"keywords": [
"docker",
"compose",
"container"
],
"repository": {
"url": "https://github.com/microsoft/vscode-docker.git"
},
"homepage": "https://github.com/Microsoft/vscode-docker/blob/master/README.md",
"activationEvents": [
"onLanguage:dockerfile",
"onLanguage:yaml",
"onCommand:vscode-docker.image.build",
"onCommand:vscode-docker.image.remove",
"onCommand:vscode-docker.image.push",
"onCommand:vscode-docker.image.tag",
"onCommand:vscode-docker.container.start",
"onCommand:vscode-docker.container.start.interactive",
"onCommand:vscode-docker.container.start.azurecli",
"onCommand:vscode-docker.container.stop",
"onCommand:vscode-docker.container.show-logs",
"onCommand:vscode-docker.container.open-shell",
"onCommand:vscode-docker.compose.up",
"onCommand:vscode-docker.compose.down",
"onCommand:vscode-docker.configure",
"onCommand:vscode-docker.debug.configureLaunchJson",
"onCommand:vscode-docker.system.prune"
],
"main": "./out/dockerExtension",
"contributes": {
"snippets": [
{
"language": "dockerfile",
"path": "./snippets/dockerfile.json"
}
],
"menus": {
"editor/context": [
{
"when": "editorLangId == dockerfile",
"command": "vscode-docker.image.build",
"group": "docker"
}
],
"explorer/context": [
{
"when": "resourceLangId == dockerfile",
"command": "vscode-docker.image.build",
"group": "docker"
}
]
},
"debuggers": [
{
"type": "docker",
"label": "Docker Attach",
"initialConfigurations": "vscode-docker.debug.configureLaunchJson"
}
],
"languages": [
{
"id": "dockerfile",
"aliases": [
"Dockerfile"
],
"filenamePatterns": [
"dockerfile*",
"Dockerfile*"
]
}
],
"configuration": {
"type": "object",
"title": "Docker configuration options",
"properties": {
"docker.defaultRegistry": {
"type": "string",
"default": "",
"description": "Default registry to push to, empty string will push to Dockerhub."
},
"docker.defaultRegistryPath": {
"type": "string",
"default": "",
"description": "Path within registry to push to."
},
"docker.enableLinting": {
"type": "boolean",
"default": false,
"description": "Turn linting of Dockerfiles on or off."
},
"docker.linterRuleFile": {
"type": "string",
"default": "",
"description": "Full path to the linting rules file to use. See https://github.com/projectatomic/dockerfile_lint#extending-and-customizing-rule-files) for sample files and how to create your own."
}
}
},
"commands": [
{
"command": "vscode-docker.configure",
"title": "Docker: Add docker files to workspace",
"description": "Add Dockerfile, docker-compose.yml files"
},
{
"command": "vscode-docker.image.build",
"title": "Docker: Build Image",
"description": "Build a Docker image from a Dockerfile"
},
{
"command": "vscode-docker.image.remove",
"title": "Docker: Remove Images",
"description": "Remove a Docker image"
},
{
"command": "vscode-docker.image.tag",
"title": "Docker: Tag Image",
"description": "Tag a Docker image"
},
{
"command": "vscode-docker.container.start",
"title": "Docker: Run",
"description": "Starts a container from an image"
},
{
"command": "vscode-docker.container.start.interactive",
"title": "Docker: Run Interactive",
"description": "Starts a container from an image and runs it interactively"
},
{
"command": "vscode-docker.container.start.azurecli",
"title": "Docker: Azure CLI",
"description": "Starts a container from the Azure CLI image and runs it interactively"
},
{
"command": "vscode-docker.container.stop",
"title": "Docker: Stop",
"description": "Stop a running container"
},
{
"command": "vscode-docker.container.show-logs",
"title": "Docker: Show Logs",
"description": "Show the logs of a running container"
},
{
"command": "vscode-docker.container.open-shell",
"title": "Docker: Attach Shell to a running container",
"description": "Open a terminal with an interactive shell for a running container"
},
{
"command": "vscode-docker.compose.up",
"title": "Docker: Compose Up",
"description": "Starts a composition of containers"
},
{
"command": "vscode-docker.compose.down",
"title": "Docker: Compose Down",
"description": "Stops a composition of containers"
},
{
"command": "vscode-docker.image.push",
"title": "Docker: Push",
"description": "Push an image to a registry"
},
{
"command": "vscode-docker.system.prune",
"title": "Docker: System Prune",
"description": "Removes unused data"
}
]
},
"engines": {
"vscode": "^1.9.0"
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"extensionDependencies": [
"vscode.docker",
"vscode.yaml"
],
"devDependencies": {
"vscode": "^1.0.0",
"typescript": "^2.1.5",
"@types/node": "^6.0.40"
},
"dependencies": {
"dockerfile_lint": "^0.2.6",
"dockerode": "^2.3.2",
"vscode-extension-telemetry": "^0.0.6"
}
}