-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
157 lines (157 loc) · 5.19 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
{
"main": "./dist/vscode/extension.cjs",
"module": "index.ts",
"type": "module",
"dependencies": {
"@hpcc-js/wasm-graphviz": "^1.6.1",
"@types/vscode": "^1.94.0",
"graphology": "^0.25.4",
"graphology-operators": "^1.6.0",
"graphology-traversal": "^0.3.1",
"web-tree-sitter": "^0.23.2",
"@vscode/vsce": "^3.1.1",
"esbuild": "^0.20.2",
"esbuild-plugin-copy": "^2.1.1"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@codemirror/lang-cpp": "^6.0.2",
"@codemirror/lang-go": "^6.0.1",
"@codemirror/lang-python": "^6.1.6",
"@codemirror/theme-one-dark": "^6.1.2",
"@eslint/js": "^9.12.0",
"@rollup/plugin-wasm": "^6.2.2",
"@sveltejs/vite-plugin-svelte": "^3.1.2",
"@types/bun": "latest",
"@types/eslint__js": "^8.42.3",
"eslint": "^9.12.0",
"graphology-utils": "^2.5.2",
"lz-string": "^1.5.0",
"oxlint": "0.13.2",
"prettier": "3.3.3",
"prettier-plugin-svelte": "^3.2.7",
"svelte": "^4.2.19",
"svelte-awesome-color-picker": "^3.1.4",
"svelte-codemirror-editor": "^1.4.1",
"tree-sitter-c": "^0.23.1",
"tree-sitter-cli": "^0.23.2",
"tree-sitter-cpp": "^0.23.4",
"tree-sitter-go": "^0.23.1",
"tree-sitter-python": "^0.23.2",
"typedoc": "^0.27.1",
"typescript-eslint": "^8.16.0",
"vite": "^5.4.8"
},
"peerDependencies": {
"typescript": "^5.6.2"
},
"scripts": {
"dev": "echo 'Open this directory in VSCode and then run your extension with F5 or `Run and Debug > Run Extension`!'",
"build": "bun run ./scripts/build-with-esbuild.ts",
"watch": "bun run ./scripts/watch-with-esbuild.ts",
"vsce-package": "bun run vsce package",
"vsce-publish": "bun run vsce publish",
"package": "bun run build && bun run vsce-package",
"publish": "bun run package && bun run vsce-publish",
"clean": "rm -r ./dist",
"web": "bun run --cwd ./src/frontend/ vite",
"web-tests": "bun run ./scripts/collect-comment-tests.ts",
"demo": "bun run --cwd ./src/demo/ vite",
"build-demo": "bun run --cwd ./src/demo/ vite build --outDir ../../dist/demo --base '/function-graph-overview/'",
"build-jetbrains": "bun run --cwd ./src/jetbrains/ vite build",
"format": "bun prettier . --write --log-level silent",
"lint": "bun format && bun run biome lint --fix || bun run oxlint --ignore-pattern=\"*.svelte\" --fix || bun run eslint || bun run tsc --noEmit",
"generate-parsers": "bun run ./scripts/generate-parsers.ts"
},
"//": "START EXTENSION ATTRIBUTES",
"publisher": "tamir-bahar",
"name": "function-graph-overview",
"version": "0.0.11",
"description": "Function Graph Overview",
"displayName": "Function Graph Overview",
"icon": "./media/icon.png",
"categories": [
"Visualization"
],
"repository": {
"type": "git",
"url": "https://github.com/tmr232/function-graph-overview.git"
},
"preview": true,
"activationEvents": [],
"contributes": {
"configuration": {
"title": "Function Graph Overview",
"properties": {
"functionGraphOverview.simplify": {
"type": "boolean",
"default": "true",
"description": "Simplify the graph by collapsing trivial paths."
},
"functionGraphOverview.flatSwitch": {
"type": "boolean",
"default": "false",
"description": "Flatten switches, so that all cases are direct descendants of the root."
},
"functionGraphOverview.highlightCurrentNode": {
"type": "boolean",
"default": "true",
"description": "Highlight the CFG node matching the current code cursor position."
},
"functionGraphOverview.colorScheme": {
"type": "string",
"enum": [
"System",
"Light",
"Dark",
"Custom"
],
"markdownEnumDescriptions": [
"Based on the active color theme",
"Light color scheme",
"Dark-mode",
"Custom scheme via `#functionGraphOverview.customColorScheme#`"
],
"default": "System",
"description": "Color scheme for rendering the CFG."
},
"functionGraphOverview.customColorScheme": {
"type": "string",
"default": "",
"markdownDescription": "Custom color scheme can be generated using the color-picker's `Copy` button in the [interactive demo](https://tmr232.github.io/function-graph-overview/)"
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "function-graph-overview",
"title": "Function Graph Overview",
"icon": "./media/svg/view-icon.svg"
}
]
},
"views": {
"function-graph-overview": [
{
"type": "webview",
"id": "functionGraphOverview.overview",
"name": "Function Graph Overview",
"icon": "./media/svg/view-icon.svg",
"contextualTitle": "Graph Overview",
"visibility": "visible"
}
]
},
"commands": [
{
"command": "functionGraphOverview.focus",
"title": "Show Graph Overview",
"category": "Function Graph Overview"
}
]
},
"engines": {
"vscode": "^1.86.0"
}
}