forked from pajoma/vscode-journal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
186 lines (186 loc) · 5.13 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
{
"name": "vscode-journal-ez4gis",
"displayName": "vscode-journal-ez4gis",
"description": "Simple journal for Visual Studio Code based on pajoma's [vscode-journal](https://github.com/pajoma/vscode-journal.git)",
"keywords": [
"journal",
"diary",
"notes",
"memo",
"date"
],
"version": "0.10.10",
"publisher": "ez4gis",
"engines": {
"vscode": "^1.45.0"
},
"author": {
"name": "Patrick Maué"
},
"icon": "img/logo.png",
"galleryBanner": {
"color": "#d7eef4",
"theme": "light"
},
"categories": [
"Other"
],
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/ez4gis/vscode-journal.git"
},
"bugs": {
"url": "https://github.com/ez4gis/vscode-journal/issues",
"email": "ez4gis@gmail.com"
},
"activationEvents": [
"onCommand:journal.day",
"onCommand:journal.entry",
"onCommand:journal.today",
"onCommand:journal.yesterday",
"onCommand:journal.tomorrow",
"onCommand:journal.note",
"onCommand:journal.open"
],
"main": "./out/src/extension",
"contributes": {
"markdown.markdownItPlugins": true,
"commands": [
{
"command": "journal.today",
"title": "Open Today",
"category": "Journal"
},
{
"command": "journal.yesterday",
"title": "Open Yesterday",
"category": "Journal"
},
{
"command": "journal.tomorrow",
"title": "Open Tomorrow",
"category": "Journal"
},
{
"command": "journal.day",
"title": "Open specific day",
"category": "Journal"
},
{
"command": "journal.open",
"title": "Open the Journal",
"category": "Journal"
},
{
"command": "journal.note",
"title": "New Journal Note",
"category": "Journal"
}
],
"keybindings": [
{
"command": "journal.day",
"key": "ctrl+shift+j",
"mac": "cmd+shift+j"
}
],
"snippets": [
{
"language": "markdown",
"path": "./res/snippets/markdown.json"
}
],
"configuration": {
"type": "object",
"title": "Journal",
"properties": {
"journal.base": {
"type": "string",
"default": "",
"description": "(Mandatatory) The base directory for your notes. Defaults to the directory 'Journal' in your home directory."
},
"journal.ext": {
"type": "string",
"default": "md",
"description": "The default extension of your notes and journal entries. Defaults to markdown (.md)."
},
"journal.locale": {
"type": "string",
"default": "",
"description": "The locale to use (required for the date format). Defaults to 'en-US'."
},
"journal.patterns": {
"type": "object",
"default": {
"notes": {
"path": "${base}/${year}/${month}/${day}",
"file": "${input}.${ext}"
},
"entries": {
"path": "${base}/${year}/${month}",
"file": "${day}.${ext}"
}
},
"description": "Individual patterns which define where and how notes and entries are stored. Check the wiki for defaults and options."
},
"journal.openInNewEditorGroup": {
"type": "boolean",
"default": false,
"description": "If true, the journal pages and new notes will split the editor view. "
},
"journal.scopes": {
"type": "array",
"default": {},
"description": "Define your own scopes here, see extension guide for more details. "
},
"journal.templates": {
"type": "array",
"default": [
{
"name": "entry",
"template": "# ${year}-${month}-${day}\n\n## Tasks\n\n## Work Log\n\n## Meeting Log\n\n## Communication Log\n\n## Notes\n\n## Gratitude\n\n"
},
{
"name": "time",
"template": "${localTime}"
},
{
"name": "note",
"template": "# ${input}\n\n${tags}\n"
}
],
"description": "Definition of templates used when generate content for the journal. See Guide for more details. "
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js",
"lint": "eslint -c .eslintrc.js --ext .ts ./src"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^13.11.0",
"@types/vscode": "^1.45.0",
"@typescript-eslint/eslint-plugin": "^2.33.0",
"@typescript-eslint/parser": "^2.33.0",
"eslint": "^7.0.0",
"glob": "^7.1.6",
"mocha": "^7.1.2",
"typescript": "^3.8.3",
"vscode-test": "^1.3.0"
},
"dependencies": {
"markdown-it-synapse-table": "^1.0.6",
"markdown-it-task-checkbox": "^1.0.6",
"markdown-it-underline": "^1.0.1",
"moment": "^2.25.3",
"q": "^1.5.1"
}
}