-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
170 lines (170 loc) · 4.63 KB
/
package.json
File metadata and controls
170 lines (170 loc) · 4.63 KB
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
{
"name": "markdown-previewer",
"displayName": "Markdown Previewer",
"description": "Enhanced markdown preview with GitHub styling and auto-preview functionality",
"version": "1.5.1",
"publisher": "franciscofernandes",
"author": {
"name": "Francisco Fernandes"
},
"icon": "icon.png",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"keywords": [
"markdown",
"preview",
"github",
"theme",
"dracula",
"auto-preview",
"documentation"
],
"repository": {
"type": "git",
"url": "https://github.com/travelingbear/markdown-previewer.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/travelingbear/markdown-previewer/issues"
},
"homepage": "https://github.com/travelingbear/markdown-previewer#readme",
"activationEvents": [
"onLanguage:markdown",
"onCommand:markdownPreviewer.openPreview",
"onCommand:markdownPreviewer.toggleTheme",
"onCommand:markdownPreviewer.toggleMode",
"onCommand:markdownPreviewer.print"
],
"main": "./dist/extension-standalone.js",
"contributes": {
"commands": [
{
"command": "markdownPreviewer.openPreview",
"title": "Open Preview",
"category": "Markdown Previewer"
},
{
"command": "markdownPreviewer.toggleTheme",
"title": "Toggle Theme (Light/Dark)",
"category": "Markdown Previewer",
"icon": "$(color-mode)"
},
{
"command": "markdownPreviewer.toggleMode",
"title": "Toggle Mode (Preview ↔ Code)",
"category": "Markdown Previewer",
"icon": "$(arrow-swap)"
},
{
"command": "markdownPreviewer.print",
"title": "Print",
"category": "Markdown Previewer",
"icon": "$(print)"
}
],
"menus": {
"editor/context": [
{
"command": "markdownPreviewer.toggleMode",
"when": "editorLangId == markdown",
"group": "markdown@1"
},
{
"command": "markdownPreviewer.openPreview",
"when": "editorLangId == markdown",
"group": "markdown@2"
}
],
"webview/context": [
{
"command": "markdownPreviewer.toggleMode",
"when": "webviewId == markdownPreview",
"group": "markdown@1"
},
{
"command": "markdownPreviewer.toggleTheme",
"when": "webviewId == markdownPreview",
"group": "markdown@2"
},
{
"command": "markdownPreviewer.print",
"when": "webviewId == markdownPreview",
"group": "markdown@3"
}
]
},
"keybindings": [
{
"command": "markdownPreviewer.toggleMode",
"key": "alt+m",
"mac": "alt+m",
"when": "editorLangId == markdown || webviewId == markdownPreview"
}
],
"configuration": {
"title": "Markdown Previewer",
"properties": {
"markdownPreviewer.defaultMode": {
"type": "string",
"enum": [
"preview-first",
"code-first"
],
"default": "preview-first",
"description": "Default mode for opening markdown files"
},
"markdownPreviewer.showModeNotifications": {
"type": "boolean",
"default": true,
"description": "Show status bar messages when switching modes"
},
"markdownPreviewer.defaultTheme": {
"type": "string",
"enum": [
"light",
"dark"
],
"default": "light",
"description": "Default theme for markdown preview"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run lint",
"lint": "eslint src --ext ts",
"test": "jest"
},
"devDependencies": {
"@types/jest": "^29.2.4",
"@types/node": "16.x",
"@types/vscode": "^1.74.0",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"eslint": "^8.28.0",
"jest": "^29.3.1",
"ts-jest": "^29.0.3",
"ts-loader": "^9.5.4",
"typescript": "^4.9.4",
"webpack": "^5.101.3",
"webpack-cli": "^6.0.1"
},
"dependencies": {
"highlight.js": "^11.7.0",
"markdown-it": "^13.0.1",
"markdown-it-anchor": "^9.2.0",
"markdown-it-katex": "^2.0.3",
"markdown-it-mermaid": "^0.2.5",
"markdown-it-task-lists": "^2.1.1"
}
}