Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
203 lines (203 loc) · 5.3 KB
/
Copy pathpackage.json
File metadata and controls
203 lines (203 loc) · 5.3 KB
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
{
"name": "big-log-viewer",
"displayName": "%ext.displayName%",
"description": "%ext.description%",
"version": "1.3.8",
"license": "MIT",
"publisher": "wake",
"icon": "icon.png",
"repository": {
"type": "git",
"url": "https://github.com/uwakeme/large_log_check"
},
"keywords": [
"log",
"log viewer",
"open log viewer",
"large file",
"log analysis",
"日志",
"日志查看",
"大日志",
"Java日志",
"日志分析"
],
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Other",
"Programming Languages",
"Formatters"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "big-log-viewer.openLogFile",
"title": "%cmd.openLogFile.title%",
"category": "%cmd.category%"
},
{
"command": "big-log-viewer.deleteByTime",
"title": "%cmd.deleteByTime.title%",
"category": "%cmd.category%"
},
{
"command": "big-log-viewer.deleteByLine",
"title": "%cmd.deleteByLine.title%",
"category": "%cmd.category%"
},
{
"command": "big-log-viewer.refresh",
"title": "%cmd.refresh.title%",
"category": "%cmd.category%"
},
{
"command": "big-log-viewer.showStatistics",
"title": "%cmd.showStatistics.title%",
"category": "%cmd.category%"
},
{
"command": "big-log-viewer.toggleBookmarks",
"title": "%cmd.toggleBookmarks.title%",
"category": "%cmd.category%"
},
{
"command": "big-log-viewer.toggleComments",
"title": "%cmd.toggleComments.title%",
"category": "%cmd.category%"
},
{
"command": "big-log-viewer.jumpToLine",
"title": "%cmd.jumpToLine.title%",
"category": "%cmd.category%"
},
{
"command": "big-log-viewer.showAdvancedSearch",
"title": "%cmd.showAdvancedSearch.title%",
"category": "%cmd.category%"
},
{
"command": "big-log-viewer.showInvestigationTemplates",
"title": "%cmd.showInvestigationTemplates.title%",
"category": "%cmd.category%"
}
],
"menus": {
"explorer/context": [
{
"when": "resourceExtname == .log || resourceExtname == .txt",
"command": "big-log-viewer.openLogFile",
"group": "navigation"
}
],
"editor/title": [
{
"when": "resourceExtname == .log || resourceExtname == .txt",
"command": "big-log-viewer.openLogFile",
"group": "navigation"
}
]
},
"configuration": {
"title": "%config.title%",
"properties": {
"big-log-viewer.search.debounceMs": {
"type": "number",
"default": 400,
"minimum": 0,
"description": "%config.search.debounceMs.description%"
},
"big-log-viewer.collapse.minRepeatCount": {
"type": "number",
"default": 2,
"minimum": 1,
"description": "%config.collapse.minRepeatCount.description%"
},
"big-log-viewer.timeline.samplePoints": {
"type": "number",
"default": 200,
"minimum": 20,
"maximum": 1000,
"description": "%config.timeline.samplePoints.description%"
},
"big-log-viewer.theme": {
"type": "string",
"enum": [
"default",
"neon",
"aurora",
"holo"
],
"default": "default",
"enumDescriptions": [
"%config.theme.enumDescription.0%",
"%config.theme.enumDescription.1%",
"%config.theme.enumDescription.2%",
"%config.theme.enumDescription.3%"
],
"description": "%config.theme.description%"
},
"big-log-viewer.level.aliases": {
"type": "object",
"default": {
"ERROR": [
"E",
"F",
"ERR"
],
"WARN": [
"W",
"WRN"
],
"INFO": [
"I",
"INF"
],
"DEBUG": [
"D",
"T",
"V",
"DBG",
"TRC"
]
},
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
}
},
"description": "%config.level.aliases.description%"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run lint && npm run compile && npm test",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "npm run compile && node --test test/*.test.cjs",
"lint": "eslint src --ext ts",
"build": "npm run compile",
"dev": "npm run watch",
"clean": "rimraf out",
"rebuild": "npm run clean; npm run compile",
"package": "vsce package",
"publish": "vsce publish"
},
"devDependencies": {
"@types/node": "^18.19.130",
"@types/vscode": "^1.75.0",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"@vscode/vsce": "^2.22.0",
"eslint": "^8.0.0",
"rimraf": "^5.0.0",
"typescript": "^5.0.0"
},
"dependencies": {
"@vscode/codicons": "^0.0.44"
}
}