-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
137 lines (137 loc) · 3.7 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
{
"name": "markmap-vscode",
"version": "0.2.2",
"description": "Visualize your markdown in VSCode",
"author": "Gerald <[email protected]>",
"license": "MIT",
"displayName": "Markmap",
"publisher": "gera2ld",
"icon": "assets/favicon.png",
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Visualization"
],
"keywords": [
"markmap",
"mindmap",
"markdown"
],
"activationEvents": [],
"contributes": {
"commands": [
{
"command": "markmap-vscode.open",
"category": "Markmap",
"title": "Open as markmap",
"icon": {
"light": "./assets/light.svg",
"dark": "./assets/dark.svg"
}
},
{
"command": "markmap-vscode.toggle",
"category": "Markmap",
"title": "Toggle the active node"
},
{
"command": "markmap-vscode.toggle-recursively",
"category": "Markmap",
"title": "Toggle the active node recursively"
}
],
"customEditors": [
{
"viewType": "markmap-vscode.markmap",
"displayName": "Markmap",
"selector": [
{
"filenamePattern": "*.md"
}
],
"priority": "option"
}
],
"menus": {
"commandPalette": [
{
"when": "editorLangId == markdown",
"command": "markmap-vscode.open"
},
{
"when": "editorLangId == markdown",
"command": "markmap-vscode.toggle"
},
{
"when": "editorLangId == markdown",
"command": "markmap-vscode.toggle-recursively"
}
],
"explorer/context": [
{
"when": "resourceLangId == markdown",
"command": "markmap-vscode.open",
"group": "navigation"
}
],
"editor/title": [
{
"when": "resourceLangId == markdown && activeEditor == workbench.editors.files.textFileEditor",
"command": "markmap-vscode.open",
"group": "navigation"
}
]
},
"configuration": {
"title": "Markmap",
"properties": {
"markmap.defaultOptions": {
"type": "string",
"default": "",
"markdownDescription": "Default options for Markmap, see <https://markmap.js.org/docs/json-options#markmap-for-vscode> for more details.",
"editPresentation": "multilineText"
},
"markmap.customCSS": {
"type": "string",
"default": "",
"markdownDescription": "Custom CSS for Markmap, please don't change this if you are not sure what you are doing. You can test your styles on <https://markmap.js.org> since the SVGs shares the same structure.",
"editPresentation": "multilineText"
}
}
}
},
"scripts": {
"prepare": "husky",
"vscode:prepublish": "run-s build",
"clean": "del-cli dist",
"build:js": "rollup -c && node dist/postbuild.js",
"build": "run-s lint clean build:js",
"lint": "eslint --ext .ts,.tsx ."
},
"repository": "https://github.com/gera2ld/markmap-vscode",
"main": "dist/extension.js",
"browser": "dist/extension.js",
"files": [
"dist"
],
"devDependencies": {
"@babel/runtime": "^7.22.6",
"@gera2ld/plaid": "~2.7.0",
"@gera2ld/plaid-rollup": "~2.7.0",
"@types/lodash.debounce": "^4.0.7",
"@types/node": "^20.4.2",
"@types/vscode": "~1.75.0",
"@types/vscode-webview": "^1.57.5",
"del-cli": "^6.0.0",
"husky": "^9.1.7",
"lodash.debounce": "^4.0.8",
"markmap-common": "0.18.0",
"markmap-lib": "0.18.3",
"markmap-render": "0.18.3",
"markmap-toolbar": "0.18.3",
"markmap-view": "0.18.3",
"read-package-up": "^11.0.0",
"vscode-uri": "^3.0.7"
}
}