forked from microsoft/vscode-hexeditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
188 lines (188 loc) · 5.08 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
{
"name": "hexeditor",
"displayName": "Hex Editor",
"description": "Allows viewing and editing files in a hex editor",
"version": "1.9.12",
"aiKey": "0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255",
"publisher": "ms-vscode",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode-hexeditor"
},
"bugs": {
"url": "https://github.com/microsoft/vscode-hexeditor/issues"
},
"license": "MIT",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"icon": "icon.png",
"main": "./dist/extension.js",
"browser": "./dist/web/extension.js",
"capabilities": {
"untrustedWorkspaces": {
"supported": true
},
"virtualWorkspaces": true
},
"contributes": {
"configuration": [
{
"title": "Hex Editor",
"properties": {
"hexeditor.inspectorType": {
"type": "string",
"enum": [
"aside",
"hover",
"sidebar"
],
"default": "aside",
"description": "Where the data inspector should be shown in the hex editor."
},
"hexeditor.maxFileSize": {
"type": "number",
"minimum": 0,
"default": 10,
"description": "The max file size (in MB) that the editor will try to open before warning you."
},
"hexeditor.dataInspector.autoReveal": {
"type": "boolean",
"default": true,
"description": "Whether to auto reveal the data inspector when the hex editor is opened."
},
"hexeditor.defaultEndianness": {
"type": "string",
"default": "little",
"enum": [
"little",
"big"
],
"description": "The endianness selected when loading the editor."
},
"hexeditor.columnWidth": {
"type": "integer",
"default": 16,
"minimum": 1,
"maximum": 512,
"description": "The number of bytes per row to show in the editor."
},
"hexeditor.showDecodedText": {
"type": "boolean",
"default": true,
"description": "Whether decoded text should be shown in the editor."
},
"hexeditor.showOpenFileButton": {
"type": "boolean",
"default": false,
"description": "Show Hex Editor button in editor menu."
}
}
}
],
"customEditors": [
{
"viewType": "hexEditor.hexedit",
"displayName": "Hex Editor",
"selector": [
{
"filenamePattern": "*"
}
],
"priority": "option"
}
],
"commands": [
{
"command": "hexEditor.openFile",
"title": "Hex Editor: Open Active File in Hex Editor",
"icon": "$(file-binary)"
},
{
"command": "hexEditor.goToOffset",
"title": "Hex Editor: Go To Offset"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "hexExplorer",
"title": "Hex Editor",
"icon": "panel-icon.svg",
"when": "hexEditor:showSidebarInspector"
}
]
},
"views": {
"hexExplorer": [
{
"type": "webview",
"id": "hexEditor.dataInspectorView",
"name": "Data Inspector",
"when": "hexEditor:showSidebarInspector"
}
]
},
"menus": {
"commandPalette": [
{
"command": "hexEditor.goToOffset",
"when": "hexEditor:isActive"
}
],
"editor/title": [
{
"when": "activeEditor && config.hexeditor.showOpenFileButton",
"command": "hexEditor.openFile",
"group": "navigation@1"
}
]
},
"keybindings": [
{
"command": "hexEditor.goToOffset",
"key": "ctrl+g",
"when": "activeCustomEditorId == hexEditor.hexedit"
}
]
},
"scripts": {
"compile": "tsc --noEmit && node .esbuild.config.js",
"lint": "eslint src --ext ts",
"watch": "node .esbuild.config.js --watch",
"test": "tsc --noEmit && node ./src/test/runTest.js"
},
"devDependencies": {
"@types/chai": "^4.3.0",
"@types/mocha": "^9.0.0",
"@types/node": "^18.11.9",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/vscode": "^1.74.0",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"@vscode/test-electron": "^2.0.3",
"chai": "^4.3.4",
"esbuild": "^0.15.10",
"esbuild-css-modules-plugin": "^2.7.1",
"esbuild-plugin-svgr": "^1.0.1",
"eslint": "^8.6.0",
"mocha": "^9.1.3",
"typescript": "^4.9.3"
},
"dependencies": {
"@popperjs/core": "^2.11.6",
"@vscode/codicons": "0.0.27",
"@vscode/extension-telemetry": "0.6.2",
"cockatiel": "^2.0.2",
"js-base64": "^3.7.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-popper": "^2.3.0",
"recoil": "^0.7.6",
"vscode-webview-tools": "^0.1.1"
}
}