-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
199 lines (199 loc) · 5.85 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
{
"name": "coc-todo-tree",
"version": "0.0.0-dev",
"description": "Todo tree integration of coc.nvim",
"main": "build/index.js",
"engines": {
"coc": "^0.0.82"
},
"keywords": [
"coc",
"coc.nvim",
"todo",
"coc-tree"
],
"activationEvents": [
"*"
],
"scripts": {
"lint": "eslint src --ext ts",
"clean": "rimraf build",
"watch": "yarn && NODE_ENV=development node esbuild.js --watch",
"build": "yarn && NODE_ENV=production node esbuild.js",
"prepare": "husky install && yarn clean"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,cjs,mjs}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md,css,less,sass,scss}": [
"prettier --write"
]
},
"repository": "git@github.com:hexh250786313/coc-todo-tree.git",
"author": "hexh <250786313@qq.com>",
"license": "MIT",
"devDependencies": {
"@tsconfig/recommended": "^1.0.1",
"@types/fs-extra": "^9.0.13",
"@types/node": "^18.8.3",
"@typescript-eslint/eslint-plugin": "^5.36.2",
"@typescript-eslint/parser": "^5.36.2",
"esbuild": "^0.15.7",
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"coc.nvim": "^0.0.82",
"fs-extra": "^10.1.0",
"typescript": "^4.8.3",
"vscode-uri": "^3.0.6"
},
"dependencies": {},
"contributes": {
"configuration": {
"type": "object",
"title": "coc-todo-tree configuration",
"properties": {
"todo-tree.tags": {
"type": "array",
"default": [
{
"tagName": "todo",
"regex": "TODO",
"icon": {
"text": "",
"hlGroup": "Normal"
}
}
],
"description": "tags rule",
"items": {
"type": "object"
}
},
"todo-tree.enabled": {
"type": "boolean",
"default": true,
"description": "enable extension: Default: true"
},
"todo-tree.defaultView": {
"type": "string",
"default": "flat",
"description": "default view mode. Default: \"flat\"",
"enum": [
"tagsOnly",
"flat",
"tree"
]
},
"todo-tree.groupByTag": {
"type": "boolean",
"default": false,
"description": "group by tag. Default: false"
},
"todo-tree.maxGrepColumns": {
"type": "integer",
"default": 300,
"description": "see: --max-columns (rg --help). only work for no customCommand set. Default: 300"
},
"todo-tree.maxPreviewWidth": {
"type": "integer",
"default": 300,
"description": "columns amount of preview window. Default: 300"
},
"todo-tree.customCommand": {
"type": "string",
"default": "",
"description": "default grep command. Default: \"rg --no-messages --vimgrep -H --column --max-columns 300 --max-columns-preview --color never -e\""
},
"todo-tree.folderIcon": {
"type": "object",
"properties": {
"text": "string",
"hlGroup": "string"
},
"default": {
"text": "",
"hlGroup": "Normal"
},
"description": "folder icon. Default: null"
},
"todo-tree.fileIcon": {
"type": "object",
"properties": {
"text": "string",
"hlGroup": "string"
},
"default": {
"text": "",
"hlGroup": "Normal"
},
"description": "file icon. Default: null"
},
"todo-tree.parentNodeHighlightEnabled": {
"type": "boolean",
"default": true,
"description": "highlight the parent node text. Can not to override the highlight group(CocSearch). Default: true"
},
"todo-tree.groupTagIconHighlight": {
"type": "string",
"default": "",
"description": "highlight for group tag icon when groupByTag enabled. Default: Same as tags.icon.hlGroup"
},
"todo-tree.refreshItemsKey": {
"type": "string",
"default": "r",
"description": "map key for refresh items. Default: \"r\""
},
"todo-tree.toggleGroupByTagKey": {
"type": "string",
"default": "c",
"description": "map key for toggle group by tag. Default: \"c\""
},
"todo-tree.togglePreviewKey": {
"type": "string",
"default": "p",
"description": "map key for toggle preview. Default: \"p\""
},
"todo-tree.switchViewKey": {
"type": "string",
"default": "C",
"description": "map key for switch view. Default: \"C\""
},
"todo-tree.invokeKey": {
"type": "string",
"default": "<cr>",
"description": "map key for jumping to target or toggle expand/collapse node. Default: \"<cr>\""
},
"todo-tree.autoPreview": {
"type": "boolean",
"default": true,
"description": "auto preview. Default: true"
},
"todo-tree.previewWinConfig": {
"type": "object",
"default": {
"border": true,
"rounded": false,
"highlight": "Normal",
"borderhighlight": "Normal",
"winblend": 0
},
"description": "preview floating window config"
},
"todo-tree.filterFilesRegex": {
"type": "array",
"default": [
".*yarn\\.lock$"
],
"description": "filtering files. test file path by regex. regex required. Default: [\".*yarn\\\\.lock$\"]"
}
}
}
}
}