-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
159 lines (159 loc) · 4.34 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
{
"name": "magento-log-viewer",
"displayName": "Magento Log Viewer",
"description": "A Visual Studio Code extension to view and manage Magento log files.",
"version": "1.8.1",
"publisher": "MathiasElle",
"icon": "resources/logo.png",
"repository": {
"type": "git",
"url": "https://github.com/OpenForgeProject/vscode-ext-magento-log-viewer"
},
"engines": {
"vscode": "^1.95.0"
},
"categories": [
"Other"
],
"sponsor": {
"url": "https://github.com/sponsors/dermatz"
},
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "magento-log-viewer.clearAllLogFiles",
"title": "Delete Logfiles",
"icon": "$(trash)"
},
{
"command": "magento-log-viewer.refreshLogFiles",
"title": "Refresh Log Files",
"icon": "$(refresh)"
},
{
"command": "magento-log-viewer.refreshReportFiles",
"title": "Refresh Report Files",
"icon": "$(refresh)"
},
{
"command": "magento-log-viewer.deleteReportFile",
"title": "Delete Report File",
"icon": "$(trash)"
}
],
"configuration": {
"type": "object",
"title": "Magento Log Viewer",
"properties": {
"magentoLogViewer.isMagentoProject": {
"type": "string",
"enum": [
"Yes",
"No",
"Please select"
],
"default": "Please select",
"description": "This is a Magento project",
"scope": "resource"
},
"magentoLogViewer.magentoRoot": {
"type": "string",
"default": "",
"description": "Path to the Magento root folder",
"scope": "resource"
},
"magentoLogViewer.groupByMessage": {
"type": "boolean",
"default": true,
"description": "Group log entries by message content",
"scope": "resource"
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "magentoLogViewer",
"title": "Magento Log Viewer",
"icon": "resources/magento-logfile-viewer-logo.svg"
}
]
},
"views": {
"magentoLogViewer": [
{
"id": "logFiles",
"name": "Log Files",
"contextualTitle": "Magento Logs",
"commands": [
{
"command": "magento-log-viewer.clearAllLogFiles",
"title": "Delete Logfiles",
"group": "navigation"
}
]
},
{
"id": "reportFiles",
"name": "Report Files",
"contextualTitle": "Magento Reports"
}
]
},
"menus": {
"view/title": [
{
"command": "magento-log-viewer.clearAllLogFiles",
"when": "view == logFiles && magentoLogViewer.hasLogFiles",
"group": "navigation"
},
{
"command": "magento-log-viewer.refreshLogFiles",
"when": "view == logFiles && magentoLogViewer.hasMagentoRoot",
"group": "navigation"
},
{
"command": "magento-log-viewer.refreshReportFiles",
"when": "view == reportFiles && magentoLogViewer.hasMagentoRoot",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "magento-log-viewer.deleteReportFile",
"when": "view == reportFiles && viewItem == reportItem",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.95.0",
"@types/mocha": "^10.0.9",
"@types/node": "20.x",
"@typescript-eslint/eslint-plugin": "^8.10.0",
"@typescript-eslint/parser": "^8.7.0",
"eslint": "^9.13.0",
"typescript": "^5.6.3",
"ts-loader": "^9.5.1",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1"
}
}