-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
175 lines (175 loc) · 4.34 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
{
"name": "vscode-llvm",
"displayName": "VSCode LLVM Compiler Explorer",
"description": "A tool for LLVM pass developer",
"version": "0.4.2",
"repository": {
"type": "git",
"url": "https://github.com/sunxfancy/vscode-llvm.git"
},
"publisher": "XiaofanSun",
"engines": {
"vscode": "^1.69.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onView:llvm-control",
"onView:llvm-pipeline-view",
"onView:llvm-pass-view"
],
"main": "./dist/extension.js",
"contributes": {
"languages": [
{
"id": "vscode-llvm.disassembly",
"aliases": [
"Disassembly"
]
},
{
"id": "vscode-llvm.llvm-ast",
"aliases": [
"LLVM AST"
]
}
],
"grammars": [
{
"language": "vscode-llvm.disassembly",
"scopeName": "source.disassembly",
"path": "./resources/disassembly.json"
},
{
"language": "vscode-llvm.llvm-ast",
"scopeName": "source.llvm-ast",
"path": "./resources/llvm-ast.json"
}
],
"commands": [
{
"command": "llvmPipelineView.settings",
"title": "LLVM: Pipeline View Settings",
"icon": "$(gear)"
},
{
"command": "llvmPipelineView.run",
"title": "LLVM: Pipeline Run Compiliation",
"icon": "$(run)"
},
{
"command": "llvmPipelineView.run-debug",
"title": "LLVM: Pipeline Debug Compiliation",
"icon": "$(bug)"
},
{
"command": "llvmPipelineView.openPreprocessed",
"title": "LLVM: Open Preprocessed File"
},
{
"command": "llvmPipelineView.openAST",
"title": "LLVM: Open AST"
},
{
"command": "llvmPipelineView.openLLVM",
"title": "LLVM: Open LLVM IR"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "vscode-llvm",
"title": "LLVM",
"icon": "resources/LLVM.svg"
}
]
},
"views": {
"vscode-llvm": [
{
"type": "webview",
"id": "llvm-control",
"name": "Compiler Configuration"
},
{
"id": "llvm-pipeline-view",
"name": "LLVM Pipeline"
},
{
"id": "llvm-pass-view",
"name": "LLVM Available Passes"
}
]
},
"menus": {
"view/title": [
{
"command": "llvmPipelineView.run",
"when": "view == llvm-pipeline-view",
"group": "navigation"
},
{
"command": "llvmPipelineView.run-debug",
"when": "view == llvm-pipeline-view",
"group": "navigation"
},
{
"command": "llvmPipelineView.settings",
"when": "view == llvm-pipeline-view",
"group": "navigation"
}
]
},
"configuration": [
{
"title": "LLVM Compiler Explorer",
"properties": {
"vscode-llvm.optPath": {
"type": "string",
"default": "opt",
"description": "Path of 'opt' binary"
},
"vscode-llvm.dimUnusedSourceLines": {
"type": "boolean",
"default": true,
"description": "Dim the lines that was thrown away by compiler",
"scope": "resource"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "yarn run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "yarn run compile-tests && yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "yarn run runtest",
"runtest": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "16.x",
"@types/vscode": "^1.69.0",
"@types/which": "^2.0.1",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"@vscode/test-electron": "^2.1.5",
"eslint": "^8.20.0",
"glob": "^8.0.3",
"mocha": "^10.0.0",
"ts-loader": "^9.3.1",
"typescript": "^4.7.4",
"webpack": "^5.89.0",
"webpack-cli": "^4.10.0"
},
"dependencies": {
"which": "^2.0.2"
}
}