-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
198 lines (198 loc) · 5.81 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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "elgato-light-controller",
"title": "Elgato Light Controller",
"description": "Control Elgato lights by IP address.",
"icon": "extension-icon.png",
"author": "wassimk",
"categories": [
"Other"
],
"license": "MIT",
"preferences": [
{
"name": "ipAddress1",
"type": "textfield",
"required": true,
"key": "ip-address-1",
"title": "IP Address #1",
"description": "The IP address of an Elgato light.",
"placeholder": "192.168.0.25"
},
{
"name": "ipAddress2",
"type": "textfield",
"required": false,
"key": "ip-address-2",
"title": "IP Address #2",
"description": "The IP address of an Elgato light.",
"placeholder": "192.168.0.26"
},
{
"name": "ipAddress3",
"type": "textfield",
"required": false,
"key": "ip-address-3",
"title": "IP Address #3",
"description": "The IP address of an Elgato light.",
"placeholder": "192.168.0.27"
},
{
"name": "brightnessChangeAmount",
"type": "textfield",
"required": false,
"key": "brightnessChangeAmount",
"title": "Brightness Change Amount",
"description": "The amount to increment/decrement brightness by. Between 1 and 100",
"default": "5",
"placeholder": "5"
},
{
"name": "defaultBrightness",
"type": "textfield",
"required": false,
"key": "defaultBrightness",
"title": "Default Brightness",
"description": "The defalt brightness to set the light to. Between 1 and 100",
"default": "10",
"placeholder": "10"
},
{
"name": "defaultTemperature",
"type": "textfield",
"required": false,
"key": "defaultTemperature",
"title": "Default Temperature",
"description": "The defalt temperature to set the light to. Between 2900 and 7000",
"default": "3000",
"placeholder": "3000"
},
{
"name": "nightLightBrightness",
"type": "textfield",
"required": false,
"key": "nightLightBrightness",
"title": "Night Light Brightness",
"description": "The defalt brightness to set the light to for night mode. Between 1 and 100",
"default": "20",
"placeholder": "20"
},
{
"name": "nightLightTemperature",
"type": "textfield",
"required": false,
"key": "nightLightTemperature",
"title": "Night Light Temperature",
"description": "The defalt temperature to set the light to for night mode. Between 2900 and 7000",
"default": "3000",
"placeholder": "3000"
},
{
"name": "dayLightBrightness",
"type": "textfield",
"required": false,
"key": "dayLightBrightness",
"title": "Day Light Brightness",
"description": "The defalt brightness to set the light to for day mode. Between 1 and 100",
"default": "5",
"placeholder": "5"
},
{
"name": "dayLightTemperature",
"type": "textfield",
"required": false,
"key": "dayLightTemperature",
"title": "Day Light Temperature",
"description": "The defalt temperature to set the light to for day mode. Between 2900 and 7000",
"default": "5000",
"placeholder": "5000"
}
],
"commands": [
{
"name": "turn-on",
"title": "Turn On",
"description": "Turn light(s) on to default settings",
"mode": "no-view"
},
{
"name": "turn-on-day-light",
"title": "Turn On Day Light",
"description": "Turn light(s) on to day light settings",
"mode": "no-view"
},
{
"name": "turn-on-night-light",
"title": "Turn On Night Light",
"description": "Turn light(s) on to night light settings",
"mode": "no-view"
},
{
"name": "turn-off",
"title": "Turn Off",
"description": "Turn light(s) off",
"mode": "no-view"
},
{
"name": "increase-brightness",
"title": "Increase Brightness",
"description": "Increase the brightness of light(s)",
"mode": "no-view"
},
{
"name": "decrease-brightness",
"title": "Decrease Brightness",
"description": "Decrease the brightness of light(s)",
"mode": "no-view"
},
{
"name": "set-temperature",
"title": "Set Temperature",
"description": "Set the temperature of light(s)",
"arguments": [
{
"name": "temperature",
"type": "text",
"required": true,
"title": "Temperature",
"placeholder": "3000",
"description": "The temperature to set the light(s) to."
}
],
"mode": "no-view"
},
{
"name": "preferences",
"title": "Preferences",
"description": "Set the preferences for the Elgato light controller",
"mode": "no-view"
}
],
"tools": [],
"dependencies": {
"@raycast/api": "^1.76.0",
"download": "^8.0.0",
"electron": "^30.1.0",
"sha256-file": "^1.0.0",
"tar": "^7.2.0"
},
"devDependencies": {
"@raycast/eslint-config": "^1.0.6",
"@types/download": "^8.0.5",
"@types/node": "20.8.10",
"@types/react": "18.2.27",
"@types/sha256-file": "^1.0.3",
"@types/tar": "^6.1.13",
"eslint": "^8.51.0",
"prettier": "^3.0.3",
"typescript": "^5.2.2"
},
"scripts": {
"build": "ray build -e dist",
"dev": "ray develop",
"fix-lint": "ray lint --fix",
"lint": "ray lint",
"prepublishOnly": "echo \"\\n\\nIt seems like you are trying to publish the Raycast extension to npm.\\n\\nIf you did intend to publish it to npm, remove the \\`prepublishOnly\\` script and rerun \\`npm publish\\` again.\\nIf you wanted to publish it to the Raycast Store instead, use \\`npm run publish\\` instead.\\n\\n\" && exit 1",
"publish": "npx @raycast/api@latest publish"
}
}