-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
344 lines (344 loc) · 12.2 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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
{
"name": "vscode-trace-extension",
"displayName": "Trace Viewer for VSCode",
"description": "Viewer that permits visualizing traces and contained data, analyzed by a trace server, and provided over the Trace Server Protocol (TSP)",
"version": "0.2.6",
"license": "MIT",
"engines": {
"vscode": "^1.52.0"
},
"publisher": "eclipse-cdt",
"icon": "images/extension-icon.png",
"categories": [
"Visualization",
"Data Science",
"Other"
],
"keywords": [
"Trace Compass",
"trace",
"visualization",
"Eclipse Foundation"
],
"repository": "https://github.com/eclipse-cdt-cloud/vscode-trace-extension/",
"bugs": {
"url": "https://github.com/eclipse-cdt-cloud/vscode-trace-extension/issues"
},
"activationEvents": [
"onStartupFinished"
],
"main": "lib/extension",
"files": [
"lib",
"pack"
],
"contributes": {
"commands": [
{
"command": "outputs.reset",
"title": "Reset",
"icon": {
"light": "assets/media/house-chimney-light.svg",
"dark": "assets/media/house-chimney.svg"
}
},
{
"command": "outputs.openOverview",
"title": "Show trace overview",
"icon": "$(graph-line)"
},
{
"command": "outputs.undo",
"title": "Undo",
"icon": {
"light": "assets/media/arrow-rotate-left-light.svg",
"dark": "assets/media/arrow-rotate-left.svg"
}
},
{
"command": "outputs.redo",
"title": "Redo",
"icon": {
"light": "assets/media/arrow-rotate-right-light.svg",
"dark": "assets/media/arrow-rotate-right.svg"
}
},
{
"command": "outputs.zoomIn",
"title": "Zoom In",
"icon": {
"light": "assets/media/square-plus-light.svg",
"dark": "assets/media/square-plus.svg"
}
},
{
"command": "outputs.zoomOut",
"title": "Zoom Out",
"icon": {
"light": "assets/media/square-minus-light.svg",
"dark": "assets/media/square-minus.svg"
}
},
{
"command": "traces.openTraceFile",
"title": "Open with Trace Viewer",
"icon": "assets/media/dep.svg"
},
{
"command": "openedTraces.openTrace",
"title": "Open Trace",
"icon": "$(new-folder)"
},
{
"command": "trace-explorer.refreshContext",
"title": "Refresh Trace Explorer",
"icon": "$(refresh)"
},
{
"command": "traceViewer.shortcuts",
"title": "Trace Viewer Keyboard and Mouse Shortcuts",
"icon": "$(info)"
},
{
"command": "serverStatus.started",
"title": "Trace Server: started"
},
{
"command": "serverStatus.stopped",
"title": "Trace Server: stopped"
},
{
"command": "trace.viewer.toolbar.markersets",
"title": "Marker Sets",
"icon": "$(three-bars)"
},
{
"command": "trace.viewer.toolbar.filter",
"title": "Markers filter",
"icon": "$(filter-filled)"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "trace-explorer",
"title": "Trace Viewer",
"icon": "assets/media/chart-line-solid.svg"
}
]
},
"views": {
"trace-explorer": [
{
"type": "tree",
"name": "Welcome",
"id": "welcome",
"when": "trace-explorer.noExperiments || !traceViewer.serverUp"
},
{
"type": "webview",
"id": "traceExplorer.openedTracesView",
"name": "Opened Traces",
"when": "!trace-explorer.noExperiments && traceViewer.serverUp"
},
{
"type": "webview",
"id": "traceExplorer.availableViews",
"name": "Views",
"when": "!trace-explorer.noExperiments && traceViewer.serverUp"
},
{
"type": "webview",
"id": "traceExplorer.timeRangeDataView",
"name": "Time Range Data",
"when": "!trace-explorer.noExperiments && traceViewer.serverUp"
},
{
"type": "webview",
"id": "traceExplorer.itemPropertiesView",
"name": "Item Properties",
"when": "!trace-explorer.noExperiments && traceViewer.serverUp"
}
]
},
"viewsWelcome": [
{
"view": "welcome",
"name": "Open Trace",
"contents": "There are currently no opened traces.\n[Open Trace](command:openedTraces.openTrace)",
"when": "trace-explorer.noExperiments || !traceViewer.serverUp"
},
{
"view": "welcome",
"name": "Documentation",
"contents": "To learn more about how to use the Trace Viewer [read our documentation](https://github.com/eclipse-cdt-cloud/vscode-trace-extension/blob/master/vscode-trace-extension/README.md).",
"when": "trace-explorer.noExperiments || !traceViewer.serverUp"
}
],
"menus": {
"view/title": [
{
"command": "openedTraces.openTrace",
"when": "view == traceExplorer.openedTracesView && !trace-explorer.noExperiments",
"group": "navigation"
},
{
"command": "trace-explorer.refreshContext",
"when": "view == welcome || view == traceExplorer.openedTracesView",
"group": "navigation"
}
],
"explorer/context": [
{
"command": "traces.openTraceFile",
"group": "navigation@40"
}
],
"editor/title": [
{
"when": "activeWebviewPanelId == 'react'",
"command": "outputs.undo",
"group": "navigation@1"
},
{
"when": "activeWebviewPanelId == 'react'",
"command": "outputs.redo",
"group": "navigation@2"
},
{
"when": "activeWebviewPanelId == 'react'",
"command": "outputs.zoomIn",
"group": "navigation@3"
},
{
"when": "activeWebviewPanelId == 'react'",
"command": "outputs.zoomOut",
"group": "navigation@4"
},
{
"when": "activeWebviewPanelId == 'react'",
"command": "outputs.reset",
"group": "navigation@5"
},
{
"when": "activeWebviewPanelId == 'react' && traceViewer.markerCategoriesPresent",
"command": "trace.viewer.toolbar.filter",
"group": "navigation@6"
},
{
"when": "activeWebviewPanelId == 'react' && traceViewer.markerSetsPresent",
"command": "trace.viewer.toolbar.markersets",
"group": "navigation@7"
},
{
"when": "activeWebviewPanelId == 'react'",
"command": "outputs.openOverview",
"group": "navigation@8"
},
{
"when": "activeWebviewPanelId == 'react'",
"command": "traceViewer.shortcuts",
"group": "navigation@9"
}
],
"commandPalette": [
{
"command": "serverStatus.started",
"when": "false"
},
{
"command": "serverStatus.stopped",
"when": "false"
}
]
},
"configuration": {
"title": "Trace Compass",
"properties": {
"trace-compass.traceserver.url": {
"type": "string",
"default": "http://localhost:8080",
"description": "Enter the trace server's URL, including port. Eg: http://localhost:8080."
},
"trace-compass.traceserver.apiPath": {
"type": "string",
"default": "tsp/api",
"description": "Enter the trace server's API path, to be appended to the server URL. Eg: 'tsp/api'."
}
}
},
"keybindings": [
{
"command": "traceViewer.shortcuts",
"key": "ctrl+f1",
"mac": "cmd+f1"
}
]
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.17 <1.3.0",
"@fortawesome/free-solid-svg-icons": "^5.8.1",
"@fortawesome/react-fontawesome": "^0.1.4",
"@vscode/codicons": "^0.0.33",
"@vscode/vsce": "^2.21.0",
"ag-grid-community": "^28.2.0",
"ag-grid-react": "^28.2.0",
"chart.js": "^2.8.0",
"json-bigint": "sidorares/json-bigint#2c0a5f896d7888e68e5f4ae3c7ea5cd42fd54473",
"lodash": "^4.17.15",
"terser": "4.8.1",
"traceviewer-base": "^0.2.2",
"traceviewer-react-components": "^0.2.2",
"vscode-trace-common": "0.2.6"
},
"devDependencies": {
"@playwright/test": "^1.32.3",
"@types/jest": "^23.3.13",
"@types/json-bigint": "^1.0.1",
"@types/node": "^10.1.2",
"@types/vscode": "^1.52.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"css-loader": "^5.0.1",
"eslint": "^8.43.0",
"eslint-plugin-import": "^2.21.2",
"eslint-plugin-no-null": "^1.0.2",
"eslint-plugin-react": "^7.20.0",
"rimraf": "^2.6.3",
"source-map-loader": "^1.0.2",
"style-loader": "^2.0.0",
"svg-url-loader": "^7.1.1",
"ts-loader": "^8.0.14",
"typescript": "^4.1.3"
},
"resolutions": {
"terser": "3.14.1",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0"
},
"scripts": {
"prepare": "yarn run clean && yarn run build && yarn run webpack",
"clean": "rimraf lib",
"build": "tsc -p tsconfig.json",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"webpack:production": "webpack --mode production",
"test": "react-scripts test --env=jsdom",
"vscode:prepublish": "yarn prepare && yarn run webpack:production",
"vsce:package": "vsce package --yarn",
"vsce:ls": "vsce ls --yarn",
"tswatch": "tsc -w -p tsconfig.json",
"watch": "yarn run webpack-dev",
"lint": "eslint .",
"format:write": "prettier --write ./src",
"format:check": "prettier --check ./src"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}