-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
212 lines (212 loc) · 5.63 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
{
"name": "markdown-hashtags",
"displayName": "markdown-hashtags",
"description": "Hashtags for markdown: autocomplete, tree view and references.",
"version": "3.0.0",
"publisher": "vanadium23",
"author": "Ivan Chernov <[email protected]>",
"license": "MIT",
"icon": "images/markdown-hashtags.png",
"engines": {
"vscode": "^1.68.1"
},
"repository": {
"url": "https://github.com/vanadium23/markdown-hashtags.git",
"type": "git"
},
"keywords": [
"markdown",
"notes",
"notetaking",
"tagging"
],
"categories": [
"Other"
],
"activationEvents": [
"onView:hashtagTree",
"onLanguage:markdown"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "markdown-hashtags.refreshTags",
"title": "Markdown Hashtags: Refresh tags",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
},
{
"command": "markdown-hashtags.setAscendingSort",
"title": "Markdown Hashtags: Set ascending order",
"icon": {
"light": "resources/light/arrow-up.svg",
"dark": "resources/dark/arrow-up.svg"
}
},
{
"command": "markdown-hashtags.setDescendingSort",
"title": "Markdown Hashtags: Set descending order",
"icon": {
"light": "resources/light/arrow-down.svg",
"dark": "resources/dark/arrow-down.svg"
}
},
{
"command": "markdown-hashtags.setSortByName",
"title": "Markdown Hashtags: Sort by name",
"icon": {
"light": "resources/light/string.svg",
"dark": "resources/dark/string.svg"
}
},
{
"command": "markdown-hashtags.setSortByCountFiles",
"title": "Markdown Hashtags: Sort by count files",
"icon": {
"light": "resources/light/number.svg",
"dark": "resources/dark/number.svg"
}
},
{
"command": "markdown-hashtags.setSortByCountTags",
"title": "Markdown Hashtags: Sort by count tags",
"icon": {
"light": "resources/light/number.svg",
"dark": "resources/dark/number.svg"
}
}
],
"languages": [
{
"id": "markdown-hashtags",
"aliases": [],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "markdown-hashtags",
"scopeName": "text.markdown.hashtags",
"path": "./syntaxes/tags.tmLanguage.json",
"injectTo": [
"text.html.markdown"
]
}
],
"views": {
"explorer": [
{
"id": "hashtagTree",
"name": "Hashtag Tree"
}
]
},
"menus": {
"view/title": [
{
"command": "markdown-hashtags.refreshTags",
"when": "view == hashtagTree",
"group": "navigation"
},
{
"command": "markdown-hashtags.setAscendingSort",
"when": "view == hashtagTree && config.markdown-hashtags.sorting.order != asc",
"group": "navigation"
},
{
"command": "markdown-hashtags.setDescendingSort",
"when": "view == hashtagTree && config.markdown-hashtags.sorting.order != desc",
"group": "navigation"
},
{
"command": "markdown-hashtags.setSortByName",
"when": "view == hashtagTree",
"group": "navigation"
},
{
"command": "markdown-hashtags.setSortByCountFiles",
"when": "view == hashtagTree",
"group": "navigation"
},
{
"command": "markdown-hashtags.setSortByCountTags",
"when": "view == hashtagTree",
"group": "navigation"
}
]
},
"configuration": {
"title": "Markdown Hashtags",
"properties": {
"markdown-hashtags.sorting.key": {
"type": "string",
"default": "name",
"enum": [
"name",
"countFiles",
"countTags"
],
"enumDescriptions": [
"Sort hashtags by name",
"Sort hashtags by countFiles",
"Sort hashtags by countTags"
]
},
"markdown-hashtags.sorting.order": {
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"enumDescriptions": [
"Ascending order for sorting key",
"Descending order for sorting key"
]
},
"markdown-hashtags.sorting.mode": {
"type": "string",
"default": "plain",
"enum": [
"plain",
"deep"
],
"enumDescriptions": [
"Sort hashtags using plain mode",
"Sort hashtags using deep mode"
]
},
"markdown-hashtags.file_extensions": {
"type": "array",
"default": [
".md"
]
}
}
}
},
"scripts": {
"vscode:prepublish": "pnpm compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "pnpm compile && pnpm lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^7.0.2",
"@types/node": "^13.13.52",
"@types/vscode": "^1.68.1",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"@vscode/test-electron": "^2.1.5",
"eslint": "^6.8.0",
"glob": "^7.2.3",
"mocha": "^7.2.0",
"typescript": "^3.9.10"
}
}