This repository has been archived by the owner on Mar 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
299 lines (299 loc) · 10.9 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
{
"name": "vsnotes",
"displayName": "VSNotes",
"description": "Simple VS Code extension for plain text note taking.",
"version": "0.8.0",
"publisher": "patricklee",
"repository": {
"type": "git",
"url": "https://github.com/patleeman/VSNotes.git"
},
"icon": "media/icon/vsnotes_icon.png",
"license": "MIT",
"engines": {
"vscode": "^1.17.0"
},
"categories": [
"Other"
],
"keywords": [
"vsnotes",
"notes",
"note taking",
"productivity",
"note"
],
"activationEvents": [
"onCommand:vsnotes.newNote",
"onCommand:vsnotes.newNoteInWorkspace",
"onCommand:vsnotes.listNotes",
"onCommand:vsnotes.listTags",
"onCommand:vsnotes.setupNotes",
"onCommand:vsnotes.openNoteFolder",
"onCommand:vsnotes.commitPush",
"onCommand:vsnotes.pull",
"onCommand:vsnotes.search",
"onView:vsnotes"
],
"main": "./extension",
"contributes": {
"configuration": {
"type": "object",
"title": "VSNotes Configuration",
"properties": {
"vsnotes.defaultNotePath": {
"type": "string",
"default": "",
"description": "Path to directory to save notes. Use ~/ to denote a relative path from home folder."
},
"vsnotes.tokens": {
"type": "array",
"description": "Tokens used to replace text in file name.",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Token name"
},
"token": {
"type": "string",
"description": "Token string"
},
"format": {
"type": [
"string",
null
],
"description": "Optional formatting information"
},
"description": {
"type": [
"string",
null
],
"description": "Token description"
}
}
},
"default": [
{
"type": "datetime",
"token": "{dt}",
"format": "YYYY-MM-DD_HH-mm",
"description": "Insert formatted datetime."
},
{
"type": "title",
"token": "{title}",
"description": "Insert note title from input box.",
"format": "Untitled"
},
{
"type": "extension",
"token": "{ext}",
"description": "Insert file vsnotes.",
"format": "md"
}
]
},
"vsnotes.defaultNoteTitle": {
"type": "string",
"default": "{dt}_{title}.{ext}",
"description": "Default note title. Utilizes tokens set in vsnotes.tokens."
},
"vsnotes.additionalNoteTitles": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "List of additional note title tokens to choose from. If supplied, a picker will be shown when creating a new note."
},
"vsnotes.defaultNoteName": {
"type": "string",
"default": "New_Note",
"description": "Default title for new notes."
},
"vsnotes.listRecentLimit": {
"type": "number",
"default": 15,
"description": "Number of recent files to show when running command `List Notes`."
},
"vsnotes.noteTitleConvertSpaces": {
"type": ["string", "null"],
"default": "_",
"description": "Automatically convert blank spaces in title to character. To disable set to `null`."
},
"vsnotes.templates": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "A list of markdown templates to choose from when creating a new note."
},
"vsnotes.defaultSnippet": {
"type": "object",
"properties": {
"langId": {
"type": "string",
"description": "VS Code language identifier"
},
"name": {
"type": "string",
"description": "Snippet Name"
}
},
"default": {
"langId": "markdown",
"name": "vsnote_template_default"
},
"description": "Default vscode snippet to execute after creating a note. Set both langId and name to null to disable."
},
"vsnotes.ignorePatterns": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"^\\."
],
"description": "Regular expressions for file names to ignore when parsing documents in note folder."
},
"vsnotes.commitPushShellCommand": {
"type": "string",
"default": "git add -A && git commit -m \"{msg}\" && git push",
"description": "Shell command to execute in the note directory when the Commit and Push command is executed. The {msg} token will be replaced with the contents of an input box shown or, if empty, the default commit message."
},
"vsnotes.pullShellCommand": {
"type": "string",
"default": "git pull",
"description": "Shell command to execute in the note directory when the Pull command is executed."
},
"vsnotes.commitPushDefaultCommitMessage": {
"type": "string",
"default": "VS Notes Commit and Push",
"description": "The default commit message used if none is provided with the Commit and Push command."
},
"vsnotes.treeviewHideTags": {
"type": "boolean",
"default": false,
"description": "Hide the tags section in the sidebar. Requires application restart."
},
"vsnotes.treeviewHideFiles": {
"type": "boolean",
"default": false,
"description": "Hide the files section in the sidebar. Requires application restart."
}
}
},
"commands": [
{
"command": "vsnotes.newNote",
"title": "VSNotes: Create a New Note"
},
{
"command": "vsnotes.newNoteInWorkspace",
"title": "VSNotes: Create a New Note in a workspace."
},
{
"command": "vsnotes.listNotes",
"title": "VSNotes: List recent notes"
},
{
"command": "vsnotes.listNotes",
"title": "VSNotes: Open note"
},
{
"command": "vsnotes.listTags",
"title": "VSNotes: List tags"
},
{
"command": "vsnotes.openNoteFolder",
"title": "VSNotes: Open Note Folder"
},
{
"command": "vsnotes.setupNotes",
"title": "VSNotes: Run setup"
},
{
"command": "vsnotes.commitPush",
"title": "VSNotes: Commit and Push"
},
{
"command": "vsnotes.pull",
"title": "VSNotes: Pull"
},
{
"command": "vsnotes.search",
"title": "VSNotes: Search notes"
},
{
"command": "vsnotes.refreshVSNotesView",
"title": "refresh",
"icon": {
"light": "./media/light/sync.svg",
"dark": "./media/dark/sync.svg"
}
}
],
"keybindings": [
{
"command": "vsnotes.newNote",
"key": "",
"mac": ""
}
],
"snippets": [
{
"language": "markdown",
"path": "./snippets/markdown.json"
}
],
"views": {
"vsnotes": [
{
"id": "vsnotes",
"name": "VS Notes"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "vsnotes",
"title": "VS Notes",
"icon": "./media/icon/vsnotes_icon.svg"
}
]
},
"menus": {
"view/title": [
{
"command": "vsnotes.refreshVSNotesView",
"when": "view == vsnotes",
"group": "navigation"
}
]
}
},
"scripts": {
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/mocha": "^5.2.1",
"@types/node": "^10.3.1",
"eslint": "^4.19.1",
"mocha": "^5.2.0",
"typescript": "^2.9.1",
"vscode": "^1.1.18"
},
"dependencies": {
"fs-extra": "^6.0.1",
"gray-matter": "^4.0.1",
"klaw": "^2.1.1",
"moment": "^2.22.2"
}
}