forked from arichika/previewseqdiag-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
195 lines (195 loc) · 7.01 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
{
"name": "previewseqdiag-vscode",
"displayName": "Preview Sequence Diagrams",
"description": "An extension for the previewing and saving as PNG/JPG/SVG function of mermaid, mscgen and other",
"version": "0.4.1",
"publisher": "arichika",
"author": "arichika.taniguchi @arichika",
"license": "GPL-3.0",
"icon": "assets/icon.png",
"galleryBanner": {
"color": "#f0f0f0",
"theme": "light"
},
"repository": {
"type": "git",
"url": "git+https://github.com/arichika/previewseqdiag-vscode"
},
"homepage": "https://github.com/arichika/previewseqdiag-vscode",
"bugs": {
"url": "https://github.com/arichika/previewseqdiag-vscode/issues"
},
"keywords": [
"Mermaid",
"Mmd",
"MscGen",
"MsGenny",
"Xù"
],
"engines": {
"vscode": "^1.54.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:previewSeqDiag.showPreview",
"onLanguage:mermaid",
"onLanguage:mscgen",
"onLanguage:msgenny",
"onLanguage:xu"
],
"main": "./dist/extension.js",
"contributes": {
"languages": [
{
"id": "mermaid",
"aliases": [
"Mermaid"
],
"extensions": [
".mmd",
".mermaid"
]
}
],
"commands": [
{
"command": "previewSeqDiag.showPreview",
"title": "Preview",
"category": "Preview Sequence Diagrams"
}
],
"menus": {
"editor/title": [
{
"command": "previewSeqDiag.showPreview",
"group": "navigation",
"when": "resourceLangId == mermaid"
},
{
"command": "previewSeqDiag.showPreview",
"group": "navigation",
"when": "resourceLangId == mscgen"
},
{
"command": "previewSeqDiag.showPreview",
"group": "navigation",
"when": "resourceLangId == msgenny"
},
{
"command": "previewSeqDiag.showPreview",
"group": "navigation",
"when": "resourceLangId == xu"
}
],
"editor/context": [
{
"command": "previewSeqDiag.showPreview",
"group": "navigation",
"when": "resourceLangId == mermaid"
},
{
"command": "previewSeqDiag.showPreview",
"group": "navigation",
"when": "resourceLangId == mscgen"
},
{
"command": "previewSeqDiag.showPreview",
"group": "navigation",
"when": "resourceLangId == msgenny"
},
{
"command": "previewSeqDiag.showPreview",
"group": "navigation",
"when": "resourceLangId == xu"
}
]
},
"configuration": {
"title": "Preview Sequence Diagrams configuration",
"properties": {
"previewSeqDiag": {
"type": "object",
"description": "Preview Sequence Diagrams configuration",
"properties": {
"mermaid": {
"type": "object",
"description": "Preview styles for Mermaid",
"properties": {
"fixedStyle": {
"type": "string",
"default": "forest",
"description": "Setting to force usage for Mermaid's rendering style. 'dark', 'forest', 'neutral'."
},
"fixedBackgroundColor": {
"type": "string",
"default": "#fafaf0",
"description": "Setting to force usage for Mermaid's rendering background color. '#rrggbb', 'transparent'."
}
}
},
"mscgen": {
"type": "object",
"description": "Preview styles for MscGen",
"properties": {
"fixedNamedStyle": {
"type": "string",
"default": "cygne",
"description": "Setting to force usage for Mscgen's rendering style, MsGenny, xu's preview. 'lazy', 'classic', 'cygne', 'pegasse', 'fountainpen'."
},
"horizontalAlignment": {
"type": "string",
"default": "stretch",
"description": "Setting to force usage for Mscgen's rendering style. Indicates where an element should be displayed on the horizontal axis relative to the allocated layout slot of the peview window. 'stretch' or 'fixed'."
}
}
}
}
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"test-compile": "tsc -p ./",
"test-watch": "tsc -watch -p ./",
"pretest": "npm run test-compile && npm run lint",
"lint": "eslint src --ext ts"
},
"devDependencies": {
"@types/vscode": "^1.54.0",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"@types/rx": "^4.1.2",
"eslint": "^7.19.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"glob": "^7.1.6",
"mocha": "^9.2.2",
"typescript": "^4.1.3",
"vscode-test": "^1.6.1",
"ts-loader": "^8.0.14",
"@types/webpack": "^5.28.0",
"webpack": "^5.70.0",
"webpack-cli": "^4.9.2",
"@types/copy-webpack-plugin": "^10.1.0",
"copy-webpack-plugin": "^10.2.4",
"@types/write-file-webpack-plugin": "^4.5.2",
"write-file-webpack-plugin": "^4.5.1",
"mermaid": "^9.1.3",
"mscgenjs": "^6.0.1",
"mscgenjs-inpage": "^4.0.4",
"rx": "^4.1.0"
},
"dependencies": {
"minimist": ">=1.2.6"
},
"extensionDependencies": [
"mscgenjs.vscode-mscgen"
]
}