-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
152 lines (152 loc) · 3.61 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
{
"name": "kubescape",
"preview": true,
"displayName": "Kubescape",
"description": "Kubescape extension for vscode",
"author": {
"name": "Kubescape Team at Armo"
},
"license": "Apache",
"icon": "images/logo.png",
"version": "0.4.0",
"publisher": "kubescape",
"engines": {
"vscode": "^1.92.1"
},
"repository": {
"type": "git",
"url": "https://github.com/kubescape/vscode-kubescape"
},
"bugs": {
"url": "https://github.com/kubescape/vscode-kubescape/issues"
},
"categories": [
"Linters"
],
"keywords": [
"container",
"kubernetes",
"kubescape"
],
"activationEvents": [
"onLanguage:yaml",
"onLanguage:dockerfile",
"onCommand:kubescape.doctor"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "kubescape.scanYaml",
"title": "Kubescape: Scan YAML"
},
{
"command": "kubescape.showPanel",
"title": "Show Kubescape Panel"
}
],
"configuration": {
"type": "object",
"title": "Kubescape",
"properties": {
"kubescape.dirPath": {
"type": "string",
"default": null,
"description": "Custom path to a kubescape binary to use instead"
},
"kubescape.scanOnSave": {
"type": "string",
"enum": [
"all",
"yaml",
"none"
],
"default": "all",
"description": "Run analysis of kubescape when a document is being saved"
},
"kubescape.requiredFrameworks": {
"type": "array",
"items": {
"type": "string"
},
"default": null,
"description": "Required frameworks (will be downloaded if necessary)"
},
"kubescape.customFrameworksDir": {
"type": "string",
"default": null,
"description": "Directories with custom frameworks to use"
},
"kubescape.scanFrameworks": {
"type": "array",
"items": {
"type": "string"
},
"default": "all",
"description": "Which frameworks to use for scanning"
},
"kubescape.versionTier": {
"type": "string",
"enum": [
"stable",
"latest"
],
"default": "stable",
"description": "Kubescape version tier"
}
}
},
"viewsContainers": {
"panel": [
{
"id": "kubescape",
"title": "Kubescape",
"icon": "images/logo.png"
}
]
},
"views": {
"kubescape": [
{
"type": "webview",
"id": "kubescape.KubescapePanel",
"name": "Kubescape"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"package": "vsce package"
},
"extensionDependencies": [
"vscode.yaml"
],
"devDependencies": {
"@types/glob": "^8.0.0",
"@types/jsdom": "^16.2.14",
"@types/mocha": "^9.0.0",
"@types/node": "14.x",
"@types/node-fetch": "^2.5.7",
"@types/vscode": "^1.50.0",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"@vscode/test-electron": "^1.6.2",
"eslint": "^7.32.0",
"glob": "^8.0.3",
"mocha": "^10.1.0",
"typescript": "^4.4.3",
"vsce": "^2.14.0"
},
"dependencies": {
"@kubescape/install": "^0.4.4",
"abort-controller": "^3.0.0",
"jsdom": "^19.0.0",
"node-fetch": "^2.6.0"
}
}