-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
108 lines (108 loc) · 2.98 KB
/
Copy pathpackage.json
File metadata and controls
108 lines (108 loc) · 2.98 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
{
"name": "dev-ports",
"displayName": "DevPorts",
"description": "See every dev port you have listening in the status bar. Open, copy, or kill them from one dropdown.",
"version": "0.1.5",
"publisher": "utreras",
"license": "MIT",
"icon": "icon.png",
"galleryBanner": {
"color": "#0F62FE",
"theme": "dark"
},
"engines": {
"vscode": "^1.81.0"
},
"categories": [
"Other"
],
"keywords": [
"ports",
"localhost",
"kill",
"process",
"dev server"
],
"repository": {
"type": "git",
"url": "https://github.com/utreras/vscode-devports.git"
},
"bugs": {
"url": "https://github.com/utreras/vscode-devports/issues"
},
"homepage": "https://github.com/utreras/vscode-devports#readme",
"activationEvents": [
"onStartupFinished"
],
"main": "./src/extension.js",
"scripts": {
"test": "node test.js"
},
"contributes": {
"commands": [
{
"command": "devports.show",
"title": "DevPorts: Show listening ports",
"icon": "$(plug)"
},
{
"command": "devports.killAll",
"title": "DevPorts: Kill all listening dev ports"
},
{
"command": "devports.refresh",
"title": "DevPorts: Rescan ports"
}
],
"configuration": {
"title": "DevPorts",
"properties": {
"devports.ranges": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"3000-3999",
"4000-4999",
"5173",
"8000-8099",
"8787"
],
"markdownDescription": "Port ranges to watch. A single port (`5173`) or a range (`3000-3999`). Everything outside these ranges is ignored, which is what keeps system services out of the list."
},
"devports.refreshSeconds": {
"type": "number",
"default": 5,
"minimum": 1,
"description": "How often to rescan listening ports."
},
"devports.healthCheck": {
"type": "boolean",
"default": true,
"markdownDescription": "Send a `HEAD /` request to each port to tell a server that is answering from one that is only bound. The result is cached per process, so each server is asked once rather than once per poll."
},
"devports.healthTimeoutMs": {
"type": "number",
"default": 900,
"minimum": 100,
"markdownDescription": "How long to wait for the health check before marking a port as not answering."
}
}
}
},
"extensionKind": [
"workspace",
"ui"
],
"capabilities": {
"untrustedWorkspaces": {
"supported": true,
"description": "DevPorts never executes workspace code. It reads the name field of a package.json only to label a row."
},
"virtualWorkspaces": {
"supported": true,
"description": "Ports are read from the machine, not from the workspace, so a virtual workspace changes nothing."
}
}
}