forked from mjbvz/vscode-markdown-mermaid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
116 lines (116 loc) · 3.41 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
{
"name": "markdown-mermaid",
"version": "1.18.0",
"displayName": "Markdown Preview Mermaid Support",
"description": "Adds Mermaid diagram and flowchart support to VS Code's builtin markdown preview",
"icon": "docs/logo.png",
"keywords": [
"mermaid",
"markdown",
"flowchart",
"diagram",
"preview"
],
"publisher": "bierner",
"license": "MIT",
"repository": {
"url": "https://github.com/mjbvz/vscode-markdown-mermaid.git"
},
"bugs": {
"url": "https://github.com/mjbvz/vscode-markdown-mermaid/issues"
},
"engines": {
"vscode": "^1.72.0"
},
"activationEvents": [],
"main": "./dist/index.js",
"browser": "./dist/web/index.js",
"categories": [
"Other"
],
"contributes": {
"markdown.previewScripts": [
"./dist-preview/index.bundle.js"
],
"notebookRenderer": [
{
"id": "bierner.markdown-it.mermaid-extension",
"displayName": "Markdown it Mermaid renderer",
"entrypoint": {
"extends": "vscode.markdown-it-renderer",
"path": "./dist-notebook/index.bundle.js"
}
}
],
"markdown.markdownItPlugins": true,
"configuration": {
"title": "Markdown Preview Mermaid Support",
"properties": {
"markdown-mermaid.lightModeTheme": {
"order": 0,
"type": "string",
"enum": [
"base",
"forest",
"dark",
"default",
"neutral"
],
"default": "default",
"description": "Default Mermaid theme for light mode."
},
"markdown-mermaid.darkModeTheme": {
"order": 1,
"type": "string",
"enum": [
"base",
"forest",
"dark",
"default",
"neutral"
],
"default": "dark",
"description": "Default Mermaid theme for dark mode."
},
"markdown-mermaid.languages": {
"order": 2,
"type": "array",
"default": [
"mermaid"
],
"description": "Default languages in markdown."
}
}
}
},
"dependencies": {
"markdown-it-container": "^3.0.0"
},
"devDependencies": {
"@types/markdown-it": "^12.2.3",
"@babel/core": "^7.15.0",
"@types/vscode": "^1.72.0",
"@types/vscode-notebook-renderer": "^1.72.0",
"babel-loader": "^8.2.2",
"css-loader": "^6.7.3",
"mermaid": "^10.0.2",
"mini-css-extract-plugin": "^2.2.2",
"npm-run-all": "^4.1.5",
"style-loader": "^3.2.1",
"terser-webpack-plugin": "^5.3.6",
"ts-loader": "^9.4.2",
"typescript": "^4.9.3",
"webpack": "^5.76.0",
"webpack-cli": "^5.0.1"
},
"scripts": {
"build-preview": "webpack --mode=production --config ./build/markdownPreview.webpack.config.js",
"build-notebook": "webpack --mode=production --config ./build/notebook.webpack.config.js",
"compile-ext": "webpack --config ./build/webpack.config.js",
"watch-ext": "webpack --watch --config ./build/webpack.config.js",
"watch-ext-web": "webpack --watch --config ./build/web-extension.webpack.config.js",
"package-ext": "webpack --mode production --config ./build/webpack.config.js",
"package-ext-web": "webpack --mode production --devtool hidden-source-map --config ./build/web-extension.webpack.config.js",
"vscode:prepublish": "npm-run-all package-ext package-ext-web build-preview build-notebook"
}
}