-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
150 lines (150 loc) · 4.48 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
{
"name": "docker",
"displayName": "Docker DX",
"description": "Edit smarter, ship faster with an enhanced Docker-development experience",
"version": "0.3.0",
"icon": "resources/docker-logo-vertical-blue.png",
"license": "Apache-2.0",
"engines": {
"vscode": "^1.92.0"
},
"publisher": "docker",
"categories": [
"Programming Languages",
"Linters"
],
"repository": {
"type": "git",
"url": "https://github.com/docker/vscode-extension"
},
"extensionDependencies": [
"ms-azuretools.vscode-docker"
],
"activationEvents": [
"onLanguage:dockerbake",
"onLanguage:dockercompose",
"onLanguage:dockerfile"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"title": "Build with Bake",
"command": "dockerLspClient.bake.build",
"enablement": "never"
},
{
"title": "Scan for CVEs with Docker Scout",
"command": "docker.scout.imageScan",
"enablement": "view == dockerImages && viewItem == image"
}
],
"languages": [
{
"id": "dockerbake",
"filenames": [
"docker-bake.hcl",
"docker-bake.override.hcl"
]
}
],
"grammars": [
{
"language": "dockerbake",
"scopeName": "source.hcl",
"path": "./syntaxes/hcl.tmGrammar.json"
}
],
"menus": {
"view/item/context": [
{
"command": "docker.scout.imageScan",
"when": "view == dockerImages && viewItem == image",
"group": "images_group_dockerdx"
}
]
},
"configuration": {
"title": "Docker",
"properties": {
"docker.extension.dockerEngineAvailabilityPrompt": {
"type": "boolean",
"description": "Be notified when Docker Engine is not available.",
"default": true
},
"docker.extension.experimental.release.march2025": {
"scope": "application",
"type": "string",
"description": "Enable feature manually. Enables the Docker VS Code extension regardless of the current rollout status.",
"enum": [
"enabled",
"featureFlag",
"disabled"
],
"default": "featureFlag"
},
"docker.lsp.telemetry": {
"type": "string",
"description": "Determines what telemetry is collected by Docker. If vscode.env.isTelemetryEnabled is false, then telemetry collection is disabled regardless of what has been set for this configuration value.",
"enum": [
"all",
"error",
"off"
],
"default": "all"
},
"docker.lsp.debugServerPort": {
"type": [
"number",
"null"
],
"description": "Enter the port on localhost where the language server is running, used for debugging.",
"default": null,
"scope": "machine-overridable"
},
"docker.lsp.experimental.vulnerabilityScanning": {
"type": "boolean",
"description": "Enable image analysis of Dockerfiles (Experimental)",
"default": true
}
}
}
},
"scripts": {
"prepare": "npm run download:artifacts",
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"download:artifacts": "node build/downloader.mjs",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test",
"make-vsix": "vsce package",
"prettier:check": "prettier --check --config .prettierrc.yml --ignore-path .prettierignore .",
"prettier:fix": "prettier --write --config .prettierrc.yml --ignore-path .prettierignore ."
},
"dependencies": {
"unleash-proxy-client": "3.7.3",
"vscode-languageclient": "9.0.1"
},
"devDependencies": {
"axios": "^1.8.4",
"@types/mocha": "^10.0.7",
"@types/node": "20.x",
"@types/vscode": "^1.8.8",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.11.0",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.4.0",
"@vscode/vsce": "^3.3.0",
"eslint": "^8.57.0",
"prettier": "^3.5.3",
"ts-loader": "^9.5.1",
"typescript": "^5.4.5",
"webpack": "^5.92.1",
"webpack-cli": "^5.1.4"
}
}