-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
267 lines (267 loc) · 8.1 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
{
"name": "vscode-mermaid-preview",
"displayName": "Mermaid Preview",
"description": "Previews Mermaid diagrams in Visual Studio Code",
"license": "MIT",
"version": "1.6.3",
"publisher": "vstirbu",
"bugs": {
"url": "https://github.com/vstirbu/vscode-mermaid-preview/issues"
},
"homepage": "https://github.com/vstirbu/vscode-mermaid-preview",
"repository": {
"type": "git",
"url": "https://github.com/vstirbu/vscode-mermaid-preview.git"
},
"icon": "images/logo.png",
"galleryBanner": {
"color": "#5c2d91",
"theme": "dark"
},
"keywords": [
"mermaid",
"diagrams",
"uml"
],
"engines": {
"vscode": "^1.20.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:mermaidPreview.start"
],
"main": "./extension",
"contributes": {
"languages": [
{
"id": "mermaid",
"aliases": [
"Mermaid"
],
"extensions": [
".mmd",
".mermaid"
]
}
],
"configuration": {
"type": "object",
"title": "Mermaid Preview configuration",
"properties": {
"mermaid.vscode.minimap": {
"type": "boolean",
"default": true,
"description": "This option controls if the minimap is rendered"
},
"mermaid.vscode.dark": {
"type": "string",
"enum": [
"dark",
"default",
"forest",
"neutral"
],
"default": "dark",
"description": "Default mermaid theme used for dark theme"
},
"mermaid.vscode.light": {
"type": "string",
"enum": [
"dark",
"default",
"forest",
"neutral"
],
"default": "forest",
"description": "Default mermaid theme used for light theme"
},
"mermaid.theme": {
"type": [
"string",
"null"
],
"description": "One of the themes bundled with mermaid: default, forest, dark, neutral. null disables theme"
},
"mermaid.themeCSS": {
"type": "string",
"description": "CSS stylesheet"
},
"mermaid.logLevel": {
"type": "number",
"enum": [
1,
2,
3,
4,
5
],
"default": 5,
"description": "This option decides the amount of logging to be used. debug: 1, info: 2, warn: 3, error: 4, fatal: (default) 5"
},
"mermaid.securityLevel": {
"type": "boolean",
"default": true,
"description": "Sets the level of trust to be used on the parsed diagrams. true: (default) tags in text are encoded, click functionality is disabeled, false: tags in text are allowed, click functionality is enabled"
},
"mermaid.startOnLoad": {
"type": "boolean",
"default": false,
"description": "This options controls whether or mermaid starts when the page loads."
},
"mermaid.arrowMarkerAbsolute": {
"type": "boolean",
"default": false,
"description": "Fixes rendering arrowheads"
},
"mermaid.flowchart.htmlLabels": {
"type": "boolean",
"default": true,
"description": "Flag for setting whether or not a html tag should be used for rendering labels on the edges."
},
"mermaid.flowchart.curve": {
"type": "string",
"default": "linear"
},
"mermaid.sequence.diagramMarginX": {
"type": "number",
"default": 50,
"description": "Margin to the right and left of the sequence diagram"
},
"mermaid.sequence.diagramMarginY": {
"type": "number",
"default": 10,
"description": "Margin to the over and under the sequence diagram."
},
"mermaid.sequence.actorMargin": {
"type": "number",
"default": 50,
"description": "Margin between actors"
},
"mermaid.sequence.width": {
"type": "number",
"default": 150,
"description": "Width of actor boxes"
},
"mermaid.sequence.height": {
"type": "number",
"default": 65,
"description": "Height of actor boxes"
},
"mermaid.sequence.boxMargin": {
"type": "number",
"default": 10,
"description": "Margin around loop boxes"
},
"mermaid.sequence.boxTextMargin": {
"type": "number",
"default": 5,
"description": "Margin around the text in loop/alt/opt boxes"
},
"mermaid.sequence.noteMargin": {
"type": "number",
"default": 10,
"description": "Margin around notes"
},
"mermaid.sequence.messageMargin": {
"type": "number",
"default": 35,
"description": "Space between messages"
},
"mermaid.sequence.mirrorActors": {
"type": "boolean",
"default": true,
"description": "Mirror actors under diagram"
},
"mermaid.sequence.bottomMarginAdj": {
"type": "number",
"default": 1,
"description": "Prolongs the edge of the diagram downwards"
},
"mermaid.sequence.useMaxWidth": {
"type": "boolean",
"default": true,
"description": "When this flag is set the height and width is set to 100% and is then scaling with the available space if not the absolute space required is used"
},
"mermaid.sequence.rightAngles": {
"type": "boolean",
"default": false,
"description": "This will display arrows that start and begin at the same node as right angles, rather than a curve"
},
"mermaid.sequence.showSequenceNumbers": {
"type": "boolean",
"default": false,
"description": "This will show the node numbers"
},
"mermaid.gantt.titleTopMargin": {
"type": "number",
"default": 25,
"description": "Margin top for the text over the gantt diagram"
},
"mermaid.gantt.barHeight": {
"type": "number",
"default": 20,
"description": "Margin top for the text over the gantt diagram"
},
"mermaid.gantt.barGap": {
"type": "number",
"default": 4,
"description": "The margin between the different activities in the gantt diagram."
},
"mermaid.gantt.topPadding": {
"type": "number",
"default": 50,
"description": "Margin between title and gantt diagram and between axis and gantt diagram."
},
"mermaid.gantt.leftPadding": {
"type": "number",
"default": 75,
"description": "The space allocated for the section name to the left of the activities."
},
"mermaid.gantt.gridLineStartPadding": {
"type": "number",
"default": 35,
"description": "Vertical starting position of the grid lines."
},
"mermaid.gantt.fontSize": {
"type": "number",
"default": 11,
"description": "Font size."
},
"mermaid.gantt.numberSectionStyles": {
"type": "number",
"default": 4,
"description": "The number of alternating section styles."
},
"mermaid.gantt.axisFormat": {
"type": "string",
"default": "%Y-%m-%d",
"description": "Datetime format of the axis, this might need adjustment to match your locale and preferences."
}
}
},
"commands": [
{
"command": "mermaidPreview.start",
"title": "Preview Mermaid"
}
]
},
"scripts": {
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test"
},
"dependencies": {},
"devDependencies": {
"vscode": "^1.1.30"
},
"greenkeeper": {
"ignore": [
"@types/node"
]
},
"extensionPack": [
"bpruitt-goddard.mermaid-markdown-syntax-highlighting"
]
}