-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
171 lines (171 loc) · 5.5 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
{
"name": "markdown-worklogs",
"displayName": "markdown-worklogs",
"description": "Top-level TODO and DONE on your markdown headers",
"version": "0.0.1",
"engines": {
"vscode": "^1.64.0"
},
"license": "MIT",
"repository": "https://github.com/spatten/vscode-markdown-worklogs",
"categories": [
"Other"
],
"activationEvents": [
"onCommand:markdown-worklogs.increaseTodo",
"onCommand:markdown-worklogs.decreaseTodo",
"onCommand:markdown-worklogs.createNewWorklog",
"onCommand:markdown-worklogs.openCurrentWorklog",
"onCommand:markdown-worklogs.gotoPreviousHeader",
"onCommand:markdown-worklogs.gotoNextHeader",
"onCommand:markdown-worklogs.gotoPreviousTopLevelHeader",
"onCommand:markdown-worklogs.gotoNextTopLevelHeader",
"onCommand:markdown-worklogs.sortDoneToBottom",
"onCommand:markdown-worklogs.sortCurrentDoneToBottom",
"onCommand:markdown-worklogs.findInWorklogs"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "Markdown Worklogs",
"type": "object",
"properties": {
"markdown-worklogs.worklogDirectory": {
"type": "string",
"scope": "resource",
"default": "",
"description": "Path to directory where your worklogs are stored. It's a good idea to put these somewhere that gets backed up, like Dropbox or OneDrive"
},
"markdown-worklogs.insertCompletionTimestamp": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Insert a timestamp when a task is marked as done"
},
"markdown-worklogs.pinCurrentWorklog": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Pin the current worklog after opening it"
},
"markdown-worklogs.foldCurrentWorklog": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Fold the current worklog after opening it"
}
}
},
"grammars": [
{
"injectTo": [
"text.html.markdown"
],
"scopeName": "markdown-worklogs.todo",
"path": "./syntaxes/markdown_todo.json"
},
{
"injectTo": [
"text.html.markdown"
],
"scopeName": "markdown-worklogs.done",
"path": "./syntaxes/markdown_done.json"
},
{
"injectTo": [
"text.html.markdown"
],
"scopeName": "markdown-worklogs.done_timestamp",
"path": "./syntaxes/markdown_done_timestamp.json"
}
],
"commands": [
{
"command": "markdown-worklogs.increaseTodo",
"title": "Markdown Work Logs: increase TODO level"
},
{
"command": "markdown-worklogs.decreaseTodo",
"title": "Markdown Work Logs: decrease TODO level"
},
{
"command": "markdown-worklogs.createNewWorklog",
"title": "Markdown Work Logs: create a new worklog"
},
{
"command": "markdown-worklogs.openCurrentWorklog",
"title": "Markdown Work Logs: open the current worklog"
},
{
"command": "markdown-worklogs.gotoPreviousHeader",
"title": "Markdown Work Logs: go to previous header"
},
{
"command": "markdown-worklogs.gotoNextHeader",
"title": "Markdown Work Logs: go to next header"
},
{
"command": "markdown-worklogs.gotoPreviousTopLevelHeader",
"title": "Markdown Work Logs: go to previous top level header"
},
{
"command": "markdown-worklogs.gotoNextTopLevelHeader",
"title": "Markdown Work Logs: go to next top level header"
},
{
"command": "markdown-worklogs.sortDoneToBottom",
"title": "Markdown Work Logs: move all top-level DONE items to bottom of file"
},
{
"command": "markdown-worklogs.sortCurrentDoneToBottom",
"title": "Markdown Work Logs: move all DONE items in current section to bottom of current section"
},
{
"command": "markdown-worklogs.findInWorklogs",
"title": "Markdown Work Logs: search in your worklogs"
}
],
"keybindings": [
{
"command": "markdown-worklogs.increaseTodo",
"key": "shift+right",
"mac": "shift+right",
"when": "editorTextFocus && !editorReadonly && editorLangId == markdown"
},
{
"command": "markdown-worklogs.decreaseTodo",
"key": "shift+left",
"mac": "shift+left",
"when": "editorTextFocus && !editorReadonly && editorLangId == markdown"
}
]
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint:strict": "eslint src --ext ts --rule 'mocha/no-exclusive-tests: 2' --rule 'no-undef: 2' --rule 'no-console: 2'",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"package": "vsce package"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/markdown-it": "^12.2.3",
"@types/mocha": "^9.1.0",
"@types/node": "14.x",
"@types/vscode": "^1.64.0",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"@vscode/test-electron": "^2.1.2",
"eslint": "^8.9.0",
"eslint-plugin-mocha": "^10.0.4",
"glob": "^7.2.0",
"mocha": "^9.2.1",
"typescript": "^4.5.5"
},
"dependencies": {
"markdown-it": "^13.0.0"
}
}