-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
373 lines (373 loc) · 11.4 KB
/
package.json
File metadata and controls
373 lines (373 loc) · 11.4 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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
{
"displayName": "Live Server Lite - Auto Reload & Static Server",
"publisher": "Nishikanta12",
"name": "live-server-lite",
"description": "Live Server VS Code extension with auto reload, HTTPS support, static web server for HTML/CSS/JS development and testing",
"version": "1.3.1",
"icon": "images/icon.png",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other",
"Testing"
],
"keywords": [
"live server",
"live reload",
"auto reload",
"auto refresh",
"development server",
"static server",
"web server",
"localhost",
"html",
"css",
"javascript",
"web development",
"preview",
"browser sync",
"hot reload",
"https server",
"ssl",
"webserver",
"livereload",
"local server",
"dev server",
"static site",
"frontend development",
"website preview",
"browser refresh",
"realtime",
"live preview",
"web app",
"http server",
"cors",
"websocket"
],
"repository": {
"type": "git",
"url": "https://github.com/NishikantaRay/Live-Server-Lite"
},
"bugs": {
"url": "https://github.com/NishikantaRay/Live-Server-Lite/issues",
"email": "nishikantaray1@gmail.com"
},
"homepage": "https://github.com/NishikantaRay/Live-Server-Lite#readme",
"license": "MIT",
"qna": "https://github.com/NishikantaRay/Live-Server-Lite/discussions",
"galleryBanner": {
"color": "#1e1e1e",
"theme": "dark"
},
"activationEvents": [],
"contributes": {
"commands": [
{
"command": "liveServerLite.start",
"title": "Start Server",
"category": "Live Server"
},
{
"command": "liveServerLite.stop",
"title": "Stop Server",
"category": "Live Server"
},
{
"command": "liveServerLite.openWithLiveServer",
"title": "Open with Live Server"
},
{
"command": "liveServerLite.selectBrowser",
"title": "Select Browser",
"category": "Live Server"
},
{
"command": "liveServerLite.toggleNotifications",
"title": "Toggle Notifications",
"category": "Live Server"
},
{
"command": "liveServerLite.openBrowserSelection",
"title": "Open in Browser...",
"category": "Live Server"
},
{
"command": "liveServerLite.startHttps",
"title": "Start HTTPS Server",
"category": "Live Server"
},
{
"command": "liveServerLite.toggleHttps",
"title": "Toggle HTTPS/HTTP",
"category": "Live Server"
},
{
"command": "liveServerLite.generateCertificate",
"title": "Generate SSL Certificate",
"category": "Live Server"
},
{
"command": "liveServerLite.showPerformanceReport",
"title": "Show Performance Report",
"category": "Live Server"
},
{
"command": "liveServerLite.createSampleProject",
"title": "Create Sample HTML",
"category": "Live Server"
},
{
"command": "liveServerLite.goLive",
"title": "Go Live",
"category": "Live Server"
},
{
"command": "liveServerLite.liveReload",
"title": "Live Reload",
"category": "Live Server"
},
{
"command": "liveServerLite.preview",
"title": "Preview in Browser",
"category": "Live Server"
},
{
"command": "liveServerLite.copyUrl",
"title": "Copy Server URL",
"category": "Live Server"
},
{
"command": "liveServerLite.showRequestLog",
"title": "Show Request Log",
"category": "Live Server"
},
{
"command": "liveServerLite.previewInEditor",
"title": "Preview in Editor",
"category": "Live Server"
},
{
"command": "liveServerLite.showQrCode",
"title": "Show QR Code for Mobile",
"category": "Live Server"
}
],
"menus": {
"explorer/context": [
{
"command": "liveServerLite.openWithLiveServer",
"when": "resourceExtname == .html",
"group": "navigation"
}
]
},
"configuration": {
"title": "Live Server Lite",
"properties": {
"liveServerLite.port": {
"type": "number",
"default": 3000,
"description": "Default port for Live Server"
},
"liveServerLite.host": {
"type": "string",
"default": "127.0.0.1",
"description": "Default host for Live Server"
},
"liveServerLite.browserPath": {
"type": "string",
"default": "default",
"description": "Path to browser executable, or 'default' for system default"
},
"liveServerLite.browserArgs": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Additional arguments to pass to the browser"
},
"liveServerLite.notifications.enabled": {
"type": "boolean",
"default": true,
"description": "Enable desktop notifications for server events"
},
"liveServerLite.notifications.showInStatusBar": {
"type": "boolean",
"default": true,
"description": "Show server status in status bar"
},
"liveServerLite.watcher.batchEvents": {
"type": "boolean",
"default": true,
"description": "Batch file change events for better performance"
},
"liveServerLite.watcher.batchDelay": {
"type": "number",
"default": 250,
"description": "Delay in milliseconds for batching file events"
},
"liveServerLite.watcher.largeProjectOptimization": {
"type": "boolean",
"default": true,
"description": "Enable optimizations for large projects (excludes node_modules, .git, etc.)"
},
"liveServerLite.watcher.useNativeWatcher": {
"type": "boolean",
"default": true,
"description": "Use native file system watcher when available (macOS FSEvents)"
},
"liveServerLite.https": {
"type": "boolean",
"default": false,
"description": "Enable HTTPS server with auto-generated self-signed certificates"
},
"liveServerLite.https.port": {
"type": "number",
"default": 3443,
"description": "Default port for HTTPS server"
},
"liveServerLite.https.certPath": {
"type": "string",
"default": "",
"description": "Path to custom SSL certificate file (optional)"
},
"liveServerLite.https.keyPath": {
"type": "string",
"default": "",
"description": "Path to custom SSL private key file (optional)"
},
"liveServerLite.https.domain": {
"type": "string",
"default": "localhost",
"description": "Domain name for certificate generation"
},
"liveServerLite.https.autoGenerateCert": {
"type": "boolean",
"default": true,
"description": "Automatically generate self-signed certificate if none provided"
},
"liveServerLite.https.warnOnSelfSigned": {
"type": "boolean",
"default": true,
"description": "Show warnings when using self-signed certificates"
},
"liveServerLite.cors": {
"type": "boolean",
"default": true,
"description": "Enable CORS for cross-origin requests"
},
"liveServerLite.verbose": {
"type": "boolean",
"default": false,
"description": "Enable verbose logging for debugging"
},
"liveServerLite.openBrowser": {
"type": "boolean",
"default": true,
"description": "Automatically open browser when server starts"
},
"liveServerLite.performance.monitoring": {
"type": "boolean",
"default": true,
"description": "Enable performance monitoring and analytics"
},
"liveServerLite.performance.memoryThreshold": {
"type": "number",
"default": 500,
"description": "Memory usage threshold in MB before showing warnings (set higher to reduce notifications)"
},
"liveServerLite.welcome.showOnStartup": {
"type": "boolean",
"default": true,
"description": "Show welcome guide for first-time users"
},
"liveServerLite.errorReporting.enhanced": {
"type": "boolean",
"default": true,
"description": "Use enhanced error reporting with actionable solutions"
},
"liveServerLite.spa": {
"type": "boolean",
"default": false,
"description": "Enable SPA (Single Page Application) mode — serves index.html for all 404 routes. Required for React, Vue, Angular apps using client-side routing."
},
"liveServerLite.proxy": {
"type": "array",
"default": [],
"description": "Proxy configuration: forward matching request paths to an upstream server (e.g. /api → http://localhost:8080).",
"items": {
"type": "object",
"required": ["context", "target"],
"properties": {
"context": {
"type": "string",
"description": "URL path prefix to proxy, e.g. /api"
},
"target": {
"type": "string",
"description": "Target server URL, e.g. http://localhost:8080"
},
"changeOrigin": {
"type": "boolean",
"default": false
},
"secure": {
"type": "boolean",
"default": true
}
}
}
},
"liveServerLite.requestLog.enabled": {
"type": "boolean",
"default": true,
"description": "Log HTTP requests to the 'Live Server - Requests' output channel."
}
}
}
},
"main": "./dist/extension.js",
"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",
"test:ide-compatibility": "bash ./scripts/test-ide-compatibility.sh"
},
"devDependencies": {
"@types/express": "^5.0.3",
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"@types/node-forge": "^1.3.14",
"@types/qrcode": "^1.5.6",
"@types/semver": "^7.7.1",
"@types/vscode": "^1.74.0",
"@types/ws": "^8.18.1",
"@typescript-eslint/eslint-plugin": "^8.42.0",
"@typescript-eslint/parser": "^8.42.0",
"@vscode/test-cli": "^0.0.11",
"@vscode/test-electron": "^2.5.2",
"eslint": "^9.34.0",
"node-forge": "^1.3.1",
"semver": "^7.7.2",
"ts-loader": "^9.5.4",
"typescript": "^5.9.2",
"webpack": "^5.101.3",
"webpack-cli": "^6.0.1"
},
"dependencies": {
"bufferutil": "^4.0.9",
"chokidar": "^4.0.3",
"express": "^5.1.0",
"qrcode": "^1.5.4",
"utf-8-validate": "^6.0.5",
"ws": "^8.18.3"
}
}