-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathpackage.json
209 lines (209 loc) · 8.84 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
{
"name": "graphviz-interactive-preview",
"displayName": "Graphviz Interactive Preview",
"description": "Graphviz (dot) Interactive Preview",
"version": "0.3.5",
"keywords": [
"dot",
"graphviz",
"preview",
"interactive"
],
"publisher": "tintinweb",
"license": "GPLv3",
"icon": "images/icon.png",
"engines": {
"vscode": "^1.20.2"
},
"categories": [
"Programming Languages"
],
"bugs": {
"url": "https://github.com/tintinweb/vscode-interactive-graphviz/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/tintinweb/vscode-interactive-graphviz"
},
"main": "./dist/extension.js",
"browser": "./dist/extension.js",
"activationEvents": [
"onCommand:graphviz-interactive-preview.preview.beside",
"onLanguage:dot"
],
"contributes": {
"languages": [
{
"id": "dot",
"aliases": [
"Graphviz (DOT)"
],
"extensions": [
".gv",
".dot",
".DOT"
],
"configuration": "dot/dot.configuration.json"
}
],
"grammars": [
{
"language": "dot",
"scopeName": "source.dot",
"path": "dot/syntaxes/dot.tmLanguage"
}
],
"snippets": [
{
"language": "dot",
"path": "dot/snippets/snippets/dot.json"
}
],
"commands": [
{
"command": "graphviz-interactive-preview.preview.beside",
"title": "Preview Graphviz / Dot (beside)",
"category": "Graphviz Interactive",
"icon": {
"dark": "images/icon.png",
"light": "images/icon.png"
}
}
],
"menus": {
"editor/title/context": [
{
"command": "graphviz-interactive-preview.preview.beside",
"group": "graphviz",
"when": "resourceLangId == dot"
}
],
"editor/title": [
{
"command": "graphviz-interactive-preview.preview.beside",
"group": "navigation@-99",
"when": "resourceLangId == dot"
}
]
},
"configuration": {
"title": "Graphviz Interactive Preview",
"properties": {
"graphviz-interactive-preview.openAutomatically": {
"type": "boolean",
"default": true,
"description": "Automatically open the preview when a file is opened with the DOT language."
},
"graphviz-interactive-preview.codeCompletion.enable": {
"type": "boolean",
"default": true,
"description": "Enable/Disable code completion. **Note:** Takes effect after restart."
},
"graphviz-interactive-preview.format.condenseAttributes": {
"type": "boolean",
"default": true,
"description": "Enable/Disable attribute condension. This will try remove line breaks at attributes."
},
"graphviz-interactive-preview.guardInterval": {
"type": "number",
"default": 10,
"description": "In miliseconds; First render request after a period of inactivity specified by guardInterval is delayed by guardInterval. Fixes old-content/new-content double-events with on-save and on-change events while preserving the ability to monitor fast-changing files. This is effectively an anti-debounce and thus has no effect when debouncingInterval is set."
},
"graphviz-interactive-preview.preserveFocus": {
"type": "boolean",
"default": true,
"description": "Keep the focus on the currently active window."
},
"graphviz-interactive-preview.debouncingInterval": {
"type": "number",
"default": 0,
"description": "0: disabled; The debouncing interval in miliseconds. A time interval interval without any rendering requests, that must elapse for the rendering to kick in. The last requested content is rendered."
},
"graphviz-interactive-preview.renderInterval": {
"type": "number",
"default": 0,
"description": "0: disabled; Guard interval in miliseconds between allowed attempts to auto-render the preview. After the on-going rendering is finished or when the interval elapses, the last blocked rendering request if rendered."
},
"graphviz-interactive-preview.renderLock": {
"type": "boolean",
"default": true,
"description": "Prevent another rendering to start while rendering is already in process. After the on-going rendering is finished, the last pending rendering request is rendered. Prevents breaking of the click-and-trace feature in the graph. If the rendering fails for some reasons, the lock is released automatically after timeout, unless disabled via renderLockAdditionalTimeout = -1 ."
},
"graphviz-interactive-preview.renderLockAdditionalTimeout": {
"type": "number",
"default": 1000,
"description": "-1: disables renderLock rendering timeout; renderLockTimeout + view.transitionDelay + transitionDuration = max time to finish rendering, then release lock."
},
"graphviz-interactive-preview.view.transitionDelay": {
"type": "number",
"default": 0,
"description": "The delay before the graph change is rendered."
},
"graphviz-interactive-preview.view.transitionDuration": {
"type": "number",
"default": 500,
"description": "The duration of the graph change transition."
},
"graphviz-interactive-preview.view.themeColors": {
"type": "boolean",
"default": false,
"description": "Show the preview in VS Code's Theme Colors. (Experimental)"
}
}
}
},
"devDependencies": {
"@types/glob": "^7.1.4",
"@types/lodash": "^4.14.178",
"@types/mocha": "^9.0.0",
"@types/node": "14.x",
"@types/vscode": "^1.20.2",
"@types/xml2js": "^0.4.9",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"@vscode/test-electron": "^2.1.5",
"@vscode/test-web": "*",
"eslint": "^8.8.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.25.4",
"glob": "^7.1.7",
"mocha": "^9.1.1",
"raw-loader": "^4.0.2",
"ts-loader": "^9.2.5",
"typescript": "^4.4.3",
"webpack": "^5.52.1",
"webpack-cli": "^4.8.0",
"xml2js": "^0.4.23"
},
"dependencies": {
"@hpcc-js/wasm": "^1.4.1",
"@ts-graphviz/parser": "^0.6.0",
"@types/text-encoding": "^0.0.36",
"@vscode/codicons": "^0.0.32",
"@vscode/webview-ui-toolkit": "^1.0.0",
"d3": "^7.3.0",
"d3-graphviz": "^4.0.0",
"jquery": "^3.6.0",
"jquery-color": "^2.2.0",
"jquery-mousewheel": "^3.1.13",
"lodash": "^4.17.21",
"text-encoding": "^0.7.0",
"ts-graphviz": "^0.16.0",
"vscode-uri": "^3.0.3"
},
"scripts": {
"vscode:prepublish": "npm run updateDependencies && npm run package",
"updateDependencies": "node scripts/updateDependencies.js",
"generateDocumentation": "node scripts/language/documentation/generator.js && eslint src/language/documentation/documentation.ts --fix",
"postinstall": "npm run updateDependencies",
"compile": "webpack",
"watch": "npm run generateDocumentation && webpack --watch",
"package": "npm run generateDocumentation && webpack --mode production --devtool hidden-source-map",
"test-compile": "tsc -p . --outDir out",
"pretest": "npm run test-compile && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"build": "npm run vscode:prepublish && vsce package",
"open-in-browser": "vscode-test-web --extensionDevelopmentPath=. ."
}
}