-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
172 lines (172 loc) · 5.22 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
{
"name": "codeart-binexplore",
"displayName": "Code Art - Binary Explore",
"description": "VSCode extension for analyzing compiled binaries",
"publisher": "uchenml",
"version": "0.3.0",
"repository": {
"type": "git",
"url": "https://github.com/uchen-ml/codeart-binexplore"
},
"icon": "assets/images/logo.png",
"engines": {
"vscode": "^1.92.0",
"node": ">=11.14.0"
},
"categories": [
"Other",
"Debuggers"
],
"contributes": {
"configuration": [
{
"type": "object",
"properties": {
"codeart-binexplore.objdumpPath": {
"type": "string",
"default": "objdump",
"markdownDescription": "Path to objdump executable to use",
"order": 0,
"scope": "resource"
},
"codeart-binexplore.objdumpOptions": {
"type": "string",
"markdownDescription": "Options of objdump command. At least one option from the list '-a,-d,-D,-e,-f,-g,-G,-h,-H,-p,-P,-r,-R,-s,-S,-t,-T,-V,-x' must be given. [More info](https://man7.org/linux/man-pages/man1/objdump.1.html).",
"default": "-d -S",
"scope": "resource"
},
"codeart-binexplore.saveCodeArtFiles": {
"type": "boolean",
"markdownDescription": "Auto save CodeArt Preview to the binary file directory.",
"default": false,
"scope": "resource"
}
}
}
],
"languages": [
{
"id": "codeart-binexplore",
"aliases": [
"Binary Explore"
],
"extensions": [
".uc"
],
"configuration": "./language-configuration.json",
"icon": {
"light": "assets/images/logo.png",
"dark": "assets/images/logo.png"
}
}
],
"grammars": [
{
"language": "codeart-binexplore",
"scopeName": "source.uc.asm",
"path": "./syntaxes/language-uc-assembly.tmLanguage"
}
],
"customEditors": [
{
"viewType": "codeart-binexplore.binaryEditor",
"displayName": "Code Art - Binary Explore",
"selector": [
{
"filenamePattern": "*"
},
{
"filenamePattern": "*.o"
},
{
"filenamePattern": "*.obj"
},
{
"filenamePattern": "*.exe"
}
],
"priority": "option"
}
],
"commands": [
{
"command": "codeart-binexplore.previewBinary",
"title": "Preview CodeArt",
"category": "Binary Operations",
"icon": "./assets/images/logo.svg"
}
],
"menus": {
"explorer/context": [
{
"command": "codeart-binexplore.previewBinary",
"when": "resourceScheme == file && !explorerResourceIsFolder && (resourceExtname == '' || resourceExtname == .o || resourceExtName == .obj || resourceExtname == .exe)",
"group": "navigation"
}
],
"editor/title": [
{
"command": "codeart-binexplore.previewBinary",
"when": "resourceScheme == file && (resourceExtname == '' || resourceExtname == .o || resourceExtName == .obj || resourceExtname == .exe)",
"group": "navigation"
}
],
"editor/title/context": [
{
"command": "codeart-binexplore.previewBinary",
"when": "resourceScheme == file && (resourceExtname == '' || resourceExtname == .o || resourceExtName == .obj || resourceExtname == .exe)",
"group": "navigation"
}
],
"commandPalette": [
{
"command": "codeart-binexplore.previewBinary",
"when": "resourceScheme == file && (resourceExtname == '' || resourceExtname == .o || resourceExtName == .obj || resourceExtname == .exe)"
}
]
},
"keybindings": [
{
"command": "codeart-binexplore.previewBinary",
"key": "ctrl+shift+v",
"mac": "cmd+shift+v",
"when": "resourceScheme == file && (resourceExtname == '' || resourceExtname == .o || resourceExtName == .obj || resourceExtname == .exe)"
}
]
},
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "tsc",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "npm run check-types && npm run lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile",
"check-types": "tsc --noEmit",
"lint": "gts lint",
"test": "vscode-test",
"clean": "gts clean",
"fix": "gts fix",
"prepare": "npm run compile",
"posttest": "npm run lint"
},
"devDependencies": {
"@types/vscode": "^1.92.0",
"@types/mocha": "^10.0.7",
"@types/node": "22.10.2",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"esbuild": "^0.24.0",
"npm-run-all2": "^7.0.0",
"typescript": "^5.4.3",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.0",
"gts": "^6.0.0"
}
}