-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
206 lines (206 loc) · 5.99 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
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
{
"name": "humanitec",
"displayName": "Humanitec",
"publisher": "humanitec",
"description": "This extension is designed to enhance your experience when working with the Humanitec Platform Orchestrator directly from Visual Studio Code. It provides a set of features to simplify your workflow, making it easier to manage your applications, components, and configurations.",
"icon": "media/humanitec_logo.png",
"version": "0.0.0",
"engines": {
"vscode": "^1.87.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"repository": {
"type": "git",
"url": "https://github.com/humanitec/vscode-humanitec.git"
},
"main": "./out/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "humanitec-sidebar-view",
"title": "Humanitec",
"icon": "media/humanitec.svg"
}
]
},
"views": {
"humanitec-sidebar-view": [
{
"type": "tree",
"id": "humanitec-sidebar-available-resource-types",
"name": "Available resources",
"contextualTitle": "Humanitec - Available resources"
},
{
"type": "tree",
"id": "humanitec-sidebar-organization-structure",
"name": "Organization structure",
"contextualTitle": "Humanitec - Organization structure"
}
]
},
"menus": {
"view/title": [
{
"command": "humanitec.sidebar.availableResources.refreshEntries",
"when": "view == humanitec-sidebar-available-resource-types",
"group": "navigation"
},
{
"command": "humanitec.sidebar.organization_structure.refreshEntries",
"when": "view == humanitec-sidebar-organization-structure",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "humanitec.sidebar.availableResources.open_resource_type_doc",
"when": "view == humanitec-sidebar-available-resource-types && viewItem == resource_type",
"group": "inline"
},
{
"command": "humanitec.sidebar.organization_structure.set_in_workspace",
"when": "view == humanitec-sidebar-organization-structure && viewItem == set_in_workspace"
}
]
},
"commands": [
{
"command": "humanitec.score.init",
"category": "Humanitec",
"title": "Initialize Score"
},
{
"command": "humanitec.score.validate",
"category": "Humanitec",
"title": "Validate Score"
},
{
"command": "humanitec.set_token",
"category": "Humanitec",
"title": "Set token"
},
{
"command": "humanitec.login",
"category": "Humanitec",
"title": "Login"
},
{
"command": "humanitec.open_configured_terminal",
"category": "Humanitec",
"title": "Open configured terminal"
},
{
"command": "humanitec.display_resources_graph",
"category": "Humanitec",
"title": "Display resource graph"
},
{
"command": "humanitec.sidebar.availableResources.refreshEntries",
"category": "Humanitec",
"title": "Refresh available resources",
"icon": {
"dark": "./media/refresh_dark.svg",
"light": "./media/refresh_light.svg"
}
},
{
"command": "humanitec.sidebar.availableResources.open_resource_type_doc",
"category": "Humanitec",
"title": "Open resource type documentation",
"icon": {
"light": "./media/globe_light.svg",
"dark": "./media/globe_dark.svg"
}
},
{
"command": "humanitec.sidebar.organization_structure.refreshEntries",
"category": "Humanitec",
"title": "Refresh organization structure",
"icon": {
"dark": "./media/refresh_dark.svg",
"light": "./media/refresh_light.svg"
}
},
{
"command": "humanitec.sidebar.organization_structure.set_in_workspace",
"category": "Humanitec",
"title": "Set in workspace"
}
],
"configuration": {
"title": "Humanitec",
"properties": {
"humanitec.organization": {
"type": "string",
"default": "",
"description": "Specifies the Humanitec organization"
},
"humanitec.application": {
"type": "string",
"default": "",
"description": "Specifies the Humanitec application"
},
"humanitec.environment": {
"type": "string",
"default": "",
"description": "Specifies the Humanitec environment"
}
}
}
},
"scripts": {
"preinstall": "node ./scripts/download-humctl.js",
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"lint": "eslint .",
"test": "vscode-test",
"prettier": "npx prettier . --write",
"package": "vsce package",
"prepare": "husky"
},
"lint-staged": {
"*.ts": "eslint"
},
"devDependencies": {
"@types/chai": "^4.3.16",
"@types/js-yaml": "^4.0.9",
"@types/mocha": "^10.0.7",
"@types/node": "22.x",
"@types/sinon": "^17.0.3",
"@types/sinon-chai": "^3.2.12",
"@types/vscode": "1.87.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"@vscode/vsce": "^3.1.0",
"chai": "^4.5.0",
"eslint": "^9.10.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"extract-zip": "^2.0.1",
"husky": "^9.1.5",
"lint-staged": "^15.2.10",
"mocha": "^10.7.3",
"prettier": "^3.3.3",
"sinon": "^18.0.0",
"sinon-chai": "^3.7.0",
"tar": "^7.4.3",
"typescript": "^5.5.4",
"typescript-eslint": "^8.4.0",
"wait-for-expect": "^3.0.2"
},
"dependencies": {
"@vscode/webview-ui-toolkit": "^1.4.0",
"crypto": "^1.0.1",
"js-yaml": "^4.1.0",
"yaml": "^2.5.1"
}
}