forked from gaoliang/visual-zookeeper
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
171 lines (171 loc) · 4.23 KB
/
package.json
File metadata and controls
171 lines (171 loc) · 4.23 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
{
"name": "visual-zookeeper",
"displayName": "Visual ZooKeeper",
"publisher": "gaoliang",
"description": "Visually manage your ZooKeeper in Visual Studio Code.",
"version": "1.0.4",
"repository": "https://github.com/gaoliang/visual-zookeeper",
"license": "SEE LICENSE IN LICENSE",
"icon": "media/zk-logo.png",
"categories": [
"Visualization",
"Other"
],
"keywords": [
"zookeeper"
],
"engines": {
"vscode": "^1.65.0"
},
"activationEvents": [
"onView:visualZooKeeper",
"onCommand:visualZooKeeper.viewNodeStat",
"onCommand:visualZooKeeper.configureServer",
"onCommand:visualZooKeeper.refreshNode",
"onCommand:visualZooKeeper.addNode",
"onCommand:visualZooKeeper.viewNodeStat"
],
"main": "./out/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "visual-zookeeper-container",
"title": "Visual Zookeeper",
"icon": "media/zookeeper.svg"
}
]
},
"configuration": {
"title": "Visual ZooKeeper",
"properties": {
"visualZooKeeper.zooKeeperServer": {
"type": "string",
"description": "Comma separated host:port pairs, each represents a ZooKeeper server."
},
"visualZooKeeper.nodeLanguage": {
"type": "string",
"default": "plaintext",
"description": "Default language mode used to edit ZK nodes without an extension"
}
}
},
"commands": [
{
"command": "visualZooKeeper.editNode",
"title": "Edit ZooKeeper Node Data",
"icon": "$(edit)",
"category": "Visual Zookeeper"
},
{
"command": "visualZooKeeper.refreshNode",
"title": "Refresh ZooKeeper Nodes",
"icon": "$(refresh)",
"category": "Visual Zookeeper"
},
{
"command": "visualZooKeeper.configureServer",
"title": "Configure ZooKeeper Servers",
"icon": "$(server)",
"category": "Visual Zookeeper"
},
{
"command": "visualZooKeeper.addNode",
"title": "Add ZooKeeper Node",
"icon": "$(add)",
"category": "Visual Zookeeper"
},
{
"command": "visualZooKeeper.viewNodeStat",
"title": "View ZooKeeper Node Stat Info",
"icon": "$(info)",
"category": "Visual Zookeeper"
},
{
"command": "visualZooKeeper.copyPath",
"title": "Copy ZooKeeper Node Full Path",
"category": "Visual Zookeeper"
}
],
"viewsWelcome": [
{
"view": "visualZooKeeper",
"contents": "No ZooKeeper nodes found. \n [Configure ZK Server](command:visualZooKeeper.configureServer)"
}
],
"views": {
"visual-zookeeper-container": [
{
"id": "visualZooKeeper",
"name": "Visual ZooKeeper"
}
]
},
"menus": {
"commandPalette": [
{
"command": "visualZooKeeper.copyPath",
"when": "view == visualZooKeeper && viewItem == zkNode"
}
],
"view/title": [
{
"command": "visualZooKeeper.refreshNode",
"when": "view == visualZooKeeper",
"group": "navigation"
},
{
"command": "visualZooKeeper.configureServer",
"when": "view == visualZooKeeper",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "visualZooKeeper.viewNodeStat",
"when": "view == visualZooKeeper && viewItem == zkNode",
"group": "inline"
},
{
"command": "visualZooKeeper.addNode",
"when": "view == visualZooKeeper && viewItem == zkNode",
"group": "inline"
},
{
"command": "visualZooKeeper.editNode",
"when": "view == visualZooKeeper && viewItem == zkNode",
"group": "inline"
},
{
"command": "visualZooKeeper.copyPath",
"when": "view == visualZooKeeper && viewItem == zkNode"
}
]
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.0",
"@types/node": "14.x",
"@types/node-zookeeper-client": "^0.2.8",
"@types/vscode": "^1.65.0",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"@vscode/test-electron": "^2.1.2",
"eslint": "^8.9.0",
"glob": "^7.2.0",
"mocha": "^9.2.1",
"typescript": "^4.5.5"
},
"dependencies": {
"node-zookeeper-client": "^1.1.1"
}
}