-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
178 lines (178 loc) · 4.67 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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "ssh-manager",
"title": "SSH Connection Manager",
"description": "Quickly connect and manage multiple SSH connections",
"icon": "command-icon.png",
"author": "dimagrossman",
"contributors": [
"LenoxFro",
"otatoPotato",
"shelken",
"emiara",
"Cerebellum-ITM"
],
"license": "MIT",
"preferences": [
{
"name": "sshConfig",
"type": "dropdown",
"required": true,
"title": "Select Config Source",
"description": "Where should it look for the hosts config",
"data": [
{
"title": "localStorage",
"value": "localStorage"
},
{
"title": "~/.ssh/config",
"value": "~/.ssh/config"
}
],
"default": "localStorage"
},
{
"name": "terminal",
"type": "dropdown",
"required": false,
"title": "Decide which Terminal Application you want to use",
"description": "If iTerm, Warp, Alacritty, or Hyper is available, you can use them instead of Terminal.",
"data": [
{
"title": "Terminal",
"value": "Terminal"
},
{
"title": "iTerm",
"value": "iTerm"
},
{
"title": "Warp",
"value": "Warp"
},
{
"title": "Alacritty",
"value": "Alacritty"
},
{
"title": "Hyper",
"value": "Hyper"
},
{
"title": "Ghostty",
"value": "Ghostty"
}
],
"default": "Terminal"
},
{
"name": "openin",
"type": "dropdown",
"required": false,
"title": "Decide how to open our SSH-Connection",
"description": "Choose wether to open in new Window or new Tab",
"data": [
{
"title": "New Window",
"value": "newWindow"
},
{
"title": "New Tab",
"value": "newTab"
}
],
"default": "newWindow"
},
{
"name": "onlyname",
"type": "checkbox",
"required": false,
"label": "Only use Host",
"title": "Only use Host, no other parameters",
"description": "Only use Host, no other parameters. e.g., `ssh Host`",
"default": false
},
{
"name": "shellType",
"type": "dropdown",
"required": false,
"data": [
{ "title": "Bash", "value": "bash" },
{ "title": "Zsh", "value": "zsh" },
{ "title": "Fish", "value": "fish" }
],
"label": "Shell type",
"title": "Select the type of shell you want to connect to",
"description": "This will add the command -t $SHELL_TYPE. e.g., `ssh Host -t zsh`",
"default": "Bash"
},
{
"name": "addInteractive",
"type": "checkbox",
"required": false,
"label": "Add Interactive Terminal",
"title": "Include -t in SSH connections",
"description": "This option adds the -t flag to your SSH command, allowing for a pseudo-terminal allocation. e.g., `ssh -t user@host`",
"default": false
}
],
"commands": [
{
"name": "create",
"title": "Create New Connection",
"subtitle": "SSH Connection Manager",
"description": "Add a new connection to easily access it later",
"mode": "view"
},
{
"name": "show",
"title": "Show Connections",
"subtitle": "SSH Connection Manager",
"description": "Quickly access pre-defined ssh connections and connect to them easily",
"mode": "view",
"arguments": [
{
"name": "shellTypeOption",
"placeholder": "Shell type",
"type": "dropdown",
"required": false,
"data": [
{"title": "Zsh", "value": "zsh"},
{"title": "Bash", "value": "bash"},
{"title": "Fish", "value": "fish"}
]
}
]
},
{
"name": "config",
"title": "Config Ghostty in server",
"subtitle": "SSH Connection Manager",
"description": "Configure the server to work with the Ghostty terminal",
"mode": "view"
}
],
"dependencies": {
"@raycast/api": "^1.31.0",
"nanoid": "^3.3.2",
"run-applescript": "^6.0.0"
},
"devDependencies": {
"@types/node": "~16.10.0",
"@types/react": "^17.0.28",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"prettier": "^2.5.1",
"react-devtools": "^4.19.2",
"typescript": "^4.4.3"
},
"scripts": {
"build": "ray build -e dist",
"dev": "ray develop",
"lint": "ray lint",
"fix-lint": "ray lint --fix"
}
}