-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 2.73 KB
/
Copy pathpackage.json
File metadata and controls
99 lines (99 loc) · 2.73 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
{
"name": "serverid",
"displayName": "Server ID",
"description": "Identify SSH server connections and change VSCode colors to help identify when you are on production",
"version": "1.1.0",
"publisher": "artslabcreatives",
"icon": "src/logo.png",
"engines": {
"vscode": "^1.60.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "serverid.reloadColors",
"title": "Server ID: Reload Colors"
}
],
"configuration": {
"title": "Server ID",
"properties": {
"serverid.servers": {
"type": "array",
"default": [
{
"name": "production",
"hostPattern": "prod|production",
"titleBarColor": "#8B0000",
"statusBarColor": "#8B0000"
},
{
"name": "staging",
"hostPattern": "stag|staging",
"titleBarColor": "#CC6600",
"statusBarColor": "#CC6600"
},
{
"name": "development",
"hostPattern": "dev|development",
"titleBarColor": "#006400",
"statusBarColor": "#006400"
}
],
"description": "List of server configurations with name, host pattern (regex), and colors",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Friendly name for the server"
},
"hostPattern": {
"type": "string",
"description": "Regex pattern to match against hostname"
},
"titleBarColor": {
"type": "string",
"description": "Color for the title bar (hex format)"
},
"statusBarColor": {
"type": "string",
"description": "Color for the status bar (hex format)"
}
}
}
},
"serverid.enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable the Server ID extension"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"lint": "echo 'No linting configured'"
},
"devDependencies": {
"@types/node": "^24.7.2",
"@types/vscode": "^1.60.0",
"typescript": "^5.9.3",
"vscode-test": "^1.6.1"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/artslabcreatives/serverid"
}
}