-
Notifications
You must be signed in to change notification settings - Fork 49
/
package.json
331 lines (331 loc) · 9.18 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
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
{
"name": "markdown-memo",
"displayName": "Markdown Memo",
"description": "Markdown knowledge base with bidirectional [[link]]s built on top of VSCode",
"publisher": "svsool",
"version": "0.3.19",
"author": "Svyatoslav Sobol <[email protected]>",
"license": "MIT",
"icon": "media/memo.png",
"repository": {
"type": "git",
"url": "https://github.com/svsool/memo"
},
"bugs": {
"url": "https://github.com/svsool/memo/issues"
},
"engines": {
"vscode": "^1.75.1"
},
"categories": [
"Other"
],
"keywords": [
"memo",
"markdown",
"knowledge base",
"references",
"reference",
"links",
"link",
"wiki-links",
"wiki-link",
"zettelkasten",
"notes",
"note",
"note-taking"
],
"activationEvents": [
"onLanguage:markdown",
"onCommand:memo.openRandomNote",
"onCommand:memo.openDailyNote",
"onCommand:memo.openReferenceInDefaultApp",
"onCommand:memo.openReferenceBeside",
"onCommand:memo.pasteHtmlAsMarkdown",
"onCommand:memo.extractRangeToNewNote",
"onCommand:_memo.openReference",
"onCommand:_memo.cacheWorkspace",
"onCommand:_memo.cleanWorkspaceCache",
"onCommand:_memo.getWorkspaceCache",
"onView:memo.backlinksPanel"
],
"main": "./dist/extension",
"contributes": {
"markdown.markdownItPlugins": true,
"grammars": [
{
"path": "./syntaxes/injection.json",
"scopeName": "memo.wikilink.injection",
"injectTo": [
"text.html.markdown"
]
}
],
"commands": [
{
"command": "memo.openDailyNote",
"title": "Open daily note",
"category": "Memo"
},
{
"command": "memo.openRandomNote",
"title": "Open random note",
"category": "Memo"
},
{
"command": "memo.openReferenceInDefaultApp",
"title": "Open link in the default app",
"category": "Memo"
},
{
"command": "memo.openReferenceBeside",
"title": "Open link to the side",
"category": "Memo"
},
{
"command": "memo.pasteHtmlAsMarkdown",
"title": "Paste HTML as Markdown",
"category": "Memo"
},
{
"command": "memo.extractRangeToNewNote",
"title": "Extract range to a new note",
"category": "Memo"
}
],
"configuration": {
"type": "object",
"title": "Memo",
"properties": {
"memo.backlinksPanel.collapseParentItems": {
"default": false,
"scope": "resource",
"description": "Collapse parent items by default.",
"type": "boolean"
},
"memo.backlinksPanel.enabled": {
"default": true,
"scope": "resource",
"description": "Whether to enable backlinks panel. Reload required!",
"type": "boolean"
},
"memo.links.completion.enabled": {
"default": true,
"scope": "resource",
"description": "Whether to enable links completion in the editor. Reload required!",
"type": "boolean"
},
"memo.links.following.enabled": {
"default": true,
"scope": "resource",
"description": "Whether to enable links following in the editor. Reload required!",
"type": "boolean"
},
"memo.links.format": {
"enum": [
"short",
"long"
],
"enumDescriptions": [
"Short path when filename is unique across workspace and absolute path when not",
"Always absolute path in workspace"
],
"default": "short",
"description": "Link format to insert on autocomplete and rename.",
"scope": "resource"
},
"memo.links.preview.enabled": {
"default": true,
"scope": "resource",
"description": "Whether to enable links preview on hover in the editor. Reload required!",
"type": "boolean"
},
"memo.links.preview.imageMaxHeight": {
"default": "200",
"scope": "resource",
"description": "The maximum height of the image.",
"type": "number"
},
"memo.links.references.enabled": {
"default": true,
"scope": "resource",
"description": "Whether to enable references search for links in the editor. Reload required!",
"type": "boolean"
},
"memo.links.rules": {
"default": [],
"scope": "resource",
"description": "Rules specifying the location where new files should be created for short links. Notice that applicable only if links format is set to short in the settings. In case if multiple rules matching the file path, the rule that comes first will be applied. Folder paths should always use forward slashes even on Windows.",
"type": "array"
},
"memo.links.sync.enabled": {
"default": true,
"scope": "resource",
"description": "Whether to enable automatic links synchronization and rename action in the editor. Reload required!",
"type": "boolean"
},
"memo.markdownPreview.enabled": {
"default": true,
"scope": "resource",
"description": "Whether to enhance built-in VSCode Markdown preview with links highlight, navigation and resource embedding. Reload required!",
"type": "boolean"
}
}
},
"keybindings": [
{
"command": "editor.action.openLink",
"key": "ctrl+enter",
"mac": "cmd+enter",
"when": "editorTextFocus && editorLangId == markdown"
},
{
"command": "memo.openReferenceBeside",
"key": "ctrl+shift+enter",
"mac": "cmd+shift+enter",
"when": "editorTextFocus && editorLangId == markdown && memo:refFocusedOrHovered"
}
],
"menus": {
"editor/context": [
{
"when": "editorLangId == markdown && memo:refUnderCursorExists",
"group": "memo",
"command": "memo.openReferenceInDefaultApp"
},
{
"when": "editorLangId == markdown && memo:refFocusedOrHovered",
"group": "memo",
"command": "memo.openReferenceBeside"
}
],
"commandPalette": [
{
"command": "memo.openReferenceInDefaultApp",
"when": "editorLangId == markdown && memo:refUnderCursorExists"
},
{
"command": "memo.openReferenceBeside",
"when": "editorLangId == markdown && memo:refFocusedOrHovered"
},
{
"command": "memo.extractRangeToNewNote",
"when": "editorHasSelection && editorLangId == markdown"
}
]
},
"views": {
"explorer": [
{
"id": "memo.backlinksPanel",
"name": "Backlinks",
"when": "memo:backlinksPanel.enabled"
}
]
},
"viewsWelcome": [
{
"view": "memo.backlinksPanel",
"contents": "No information to show"
}
],
"markdown.previewStyles": [
"./media/fontello/css/fontello.css",
"./media/markdown.css"
]
},
"lint-staged": {
"*.ts": [
"eslint --fix"
]
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"deploy:vsce": "vsce publish --yarn",
"deploy:ovsx": "ovsx publish --yarn --packagePath ./",
"package": "vsce package --yarn",
"clean": "del dist out",
"lint": "eslint src --ext ts",
"compile": "webpack --mode development",
"compile:tests": "tsc -p ./ && yarn run webpack --mode development",
"watch": "webpack --mode development -w",
"pretest": "yarn compile:tests",
"pretest:ci": "yarn compile:tests",
"pretest:watch": "yarn compile:tests",
"precompile:tests": "del-cli ./tmp/test-workspace && mkdirp ./tmp/test-workspace",
"release": "standard-version",
"ts": "tsc --noEmit",
"test": "node ./out/test/runTest.js",
"test:ci": "cross-env JEST_CI=true JEST_COLLECT_COVERAGE=true node ./out/test/runTest.js",
"test:watch": "cross-env JEST_WATCH=true node ./out/test/runTest.js",
"prepare": "husky install"
},
"devDependencies": {
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@swc/core": "^1.3.37",
"@swc/jest": "^0.2.24",
"@types/del": "^4.0.0",
"@types/fs-extra": "^11.0.1",
"@types/glob": "^8.1.0",
"@types/jest": "^29.4.0",
"@types/lodash.debounce": "^4.0.7",
"@types/lodash.groupby": "^4.6.7",
"@types/lodash.range": "^3.2.7",
"@types/markdown-it": "^12.2.3",
"@types/moment": "^2.13.0",
"@types/node": "^18.14.6",
"@types/open": "^6.2.1",
"@types/turndown": "^5.0.1",
"@types/vscode": "^1.76.0",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"@vscode/test-electron": "^2.3.0",
"cross-env": "^7.0.3",
"del": "^6.0.0",
"del-cli": "^5.0.0",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-folders": "^1.0.4",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-unicorn": "^46.0.0",
"glob": "^9.2.1",
"husky": "^8.0.3",
"jest": "29.4.3",
"jest-environment-node": "^29.4.3",
"jest-extended": "^3.2.4",
"lint-staged": "^13.1.2",
"mkdirp": "^2.1.5",
"ovsx": "^0.8.0",
"prettier": "^2.8.4",
"standard-version": "^9.5.0",
"terser-webpack-plugin": "^5.3.6",
"ts-loader": "^9.4.2",
"typescript": "^4.9.5",
"vsce": "^2.15.0",
"wait-for-expect": "^3.0.2",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1"
},
"dependencies": {
"cross-path-sort": "^1.0.0",
"execa": "svsool/execa#v6.0.1",
"fs-extra": "^10.1.0",
"lodash.debounce": "^4.0.8",
"lodash.groupby": "^4.6.0",
"lodash.range": "^3.2.0",
"markdown-it": "^13.0.1",
"markdown-it-regex": "^0.2.0",
"moment": "^2.29.4",
"open": "^8.4.2",
"turndown": "^7.1.1"
},
"__metadata": {
"id": "a654a671-80d2-4f77-9c27-7f83f02cf376",
"publisherDisplayName": "Svyat Sobol",
"publisherId": "8a7ce00c-ba74-4209-ab2a-0389b8ad36f1",
"isPreReleaseVersion": false
}
}