-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
168 lines (168 loc) · 3.96 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
{
"name": "inspector-hex",
"displayName": "Inspector Hex",
"description": "View files in byte representation with multiple decoding options.",
"version": "0.3.7",
"preview": true,
"engines": {
"vscode": "^1.95.0"
},
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/tao-cumplido/inspector-hex"
},
"bugs": {
"url": "https://github.com/tao-cumplido/inspector-hex/issues"
},
"license": "MIT",
"icon": "logo.png",
"activationEvents": [],
"main": "./dist/extension.js",
"browser": "./dist/extension.web.js",
"publisher": "tao-cumplido",
"capabilities": {
"virtualWorkspaces": {
"supported": "limited",
"description": "Custom decoders are not supported in virtual workspaces."
}
},
"contributes": {
"colors": [
{
"id": "inspectorHex.placeholder",
"description": "Color for placeholder rows while loading data.",
"defaults": {
"dark": "#ffffff10",
"light": "#00000010"
}
}
],
"configuration": {
"title": "Inspector Hex",
"properties": {
"inspectorHex.pageRows": {
"type": "intger",
"min": 0,
"default": 512,
"description": "Number of rows to load and decode per virtual page."
},
"inspectorHex.customDecoders": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"default": {},
"description": "Map of custom decoders. Keys are decoder names and values are the path to the JS file. Relative paths are resolved from the workspace root."
},
"inspectorHex.defaultDecoders": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"default": {},
"description": "Default decoders for given glob patterns. Keys are patterns, values are names of decoders, either one of the built-ins or custom defined."
},
"inspectorHex.decode.renderControlCharacters": {
"oneOf": [
{
"type": "string",
"enum": [
"off",
"hex",
"abbreviation",
"escape",
"caret",
"picture"
]
},
{
"type": "array",
"items": {
"type": "string",
"enum": [
"hex",
"abbreviation",
"escape",
"caret",
"picture"
]
},
"minItems": 1,
"uniqueItems": true
}
],
"default": "off",
"description": "Render control characters with a graphical representation."
}
}
},
"customEditors": [
{
"viewType": "inspectorHex.binary",
"displayName": "Inspector Hex",
"selector": [
{
"filenamePattern": "*"
}
],
"priority": "option"
}
],
"commands": [
{
"command": "inspectorHex.selectDecoder",
"title": "Inspector Hex: Select decoder"
},
{
"command": "inspectorHex.reloadDecoders",
"title": "Inspector Hex: Reload decoders"
},
{
"command": "inspectorHex.goToOffset",
"title": "Inspector Hex: Go to offset..."
}
],
"menus": {
"commandPalette": [
{
"command": "inspectorHex.selectDecoder",
"when": "inspectorHex:openEditor"
},
{
"command": "inspectorHex.reloadDecoders"
},
{
"command": "inspectorHex.goToOffset",
"when": "inspectorHex:openEditor"
}
]
}
},
"scripts": {
"build": "pnpm run -r build",
"watch:extension:node": "pnpm run --filter api build && pnpm run --filter extension watch:node",
"watch:extension:browser": "pnpm run --filter api build && pnpm run --filter extension watch:browser",
"watch:editor": "pnpm run --filter editor watch",
"lint": "eslint ."
},
"dependencies": {
"tsx": "4.19.2"
},
"devDependencies": {
"@vscode/vsce": "3.2.1",
"@types/vscode": "1.95.0",
"@types/node": "22.9.0",
"typescript": "5.6.3",
"vite": "5.4.10",
"eslint": "9.14.0",
"eslint-typegen": "0.3.2",
"typescript-eslint": "8.13.0",
"@stylistic/eslint-plugin": "2.10.1",
"@shigen/eslint-plugin": "0.12.1",
"eslint-plugin-unused-imports": "4.1.4",
"execa": "9.5.1"
}
}