forked from shaimendel/vscode-plugin-cicd-github-actions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
152 lines (152 loc) · 4.02 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": "kubeApply",
"displayName": "Kubernetes Apply",
"description": "Apply/Diff/Delete Kubernetes resource files",
"version": "1.0.4",
"publisher": "bashu",
"keywords": [
"kubernetes",
"apply",
"yaml",
"kubectl"
],
"icon": "images/apply.png",
"engines": {
"vscode": "^1.80.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "kubeApply.apply",
"title": "kubectl apply -f after 5 second"
},
{
"command": "kubeApply.diff",
"title": "kubectl diff -f"
},
{
"command": "kubeApply.delete",
"title": "kubectl delete -f after 5 second"
},
{
"command": "kubeApply.apply-kustomize",
"title": "kubectl apply -k after 5 second"
},
{
"command": "kubeApply.diff-kustomize",
"title": "kubectl diff -k"
},
{
"command": "kubeApply.sync-container",
"title": "k8s Sync Online container config"
},
{
"command": "kubeApply.sync",
"title": "k8s Sync All Online config"
},
{
"command": "dir.cd",
"title": "cd to this folder"
}
],
"keybindings": [
{
"command": "kubeApply.diff",
"key": "ctrl+shift+alt+d",
"mac": "ctrl+shift+cmd+d"
},
{
"command": "kubeApply.sync-container",
"key": "ctrl+shift+alt+s",
"mac": "ctrl+shift+cmd+s"
}
],
"menus": {
"explorer/context": [
{
"command": "kubeApply.apply",
"group": "kubeApplygroup@1",
"when": "resourceExtname == .yaml || resourceExtname == .yml || explorerResourceIsFolder"
},
{
"command": "kubeApply.diff",
"group": "kubeApplygroup@1",
"when": "resourceExtname == .yaml || resourceExtname == .yml || explorerResourceIsFolder"
},
{
"command": "kubeApply.delete",
"group": "kubeApplygroup@2",
"when": "resourceExtname == .yaml || resourceExtname == .yml"
},
{
"command": "kubeApply.apply-kustomize",
"group": "kubeApplygroup@1",
"when": "explorerResourceIsFolder"
},
{
"command": "kubeApply.diff-kustomize",
"group": "kubeApplygroup@1",
"when": "explorerResourceIsFolder"
},
{
"command": "kubeApply.sync-container",
"group": "kubeApplygroup@3",
"when": "resourceExtname == .yaml || resourceExtname == .yml"
},
{
"command": "kubeApply.sync",
"group": "kubeApplygroup@3",
"when": "resourceExtname == .yaml || resourceExtname == .yml"
},
{
"command": "dir.cd",
"group": "kubeApplygroup@4",
"when": "explorerResourceIsFolder"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"vscepackage": " vsce package",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": ""
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "20.2.5",
"@types/vscode": "^1.80.0",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"@vscode/test-electron": "^2.3.2",
"eslint": "^8.41.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"ts-loader": "^9.4.3",
"typescript": "^5.1.3",
"vscode-test": "^1.6.1",
"webpack": "^5.85.0",
"webpack-cli": "^5.1.1"
},
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/bagechashu/vscode-plugin-cicd-github-actions.git"
},
"dependencies": {
"@kubernetes/client-node": "^0.18.1",
"bufferutil": "^4.0.7",
"kubectl-sync2local": "^1.1.3",
"utf-8-validate": "^6.0.3"
}
}