-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
142 lines (142 loc) · 4.24 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
{
"name": "daskeyboard-applet--icmp-ping",
"displayName": "ICMP Ping",
"version": "2.0.0",
"description": "Displays network latency as a color gradient.",
"longDescription": "Displays ICMP ping response times as a color gradient depending the average round-trip time duration.",
"officialProductName": "ICMP Ping",
"appUrl": "",
"publisher": "Connor Kennedy",
"isSingleton": false,
"videoUrl": "",
"icon": "assets/icon.png",
"image": "assets/image.png",
"authorName": "Connor Kennedy",
"authorUrl": "https://github.com/Conroman16",
"issuesUrl": "https://github.com/Conroman16/daskeyboard-applet--icmp-ping/issues",
"homePageUrl": "https://github.com/Conroman16/daskeyboard-applet--icmp-ping",
"developerRepoUrl": "https://github.com/Conroman16/daskeyboard-applet--icmp-ping",
"licenseUrl": "https://opensource.org/licenses/MIT",
"changelogUrl": "CHANGELOG.md",
"readMeUrl": "README.md",
"readMeEndUserUrl": "README_ENDUSER.md",
"license": "MIT",
"dependencies": {
"daskeyboard-applet": "^2.11.4",
"mocha": "^7.0.1",
"tinygradient": "^1.1.1"
},
"engines": {
"das-keyboard-q": "3.1.0"
},
"main": "index.js",
"scripts": {
"test": "mocha"
},
"qConfig": {
"geometry": {
"width": 1,
"height": 1
},
"applet": {
"defaults": {
"fastColor": "#00ff00",
"slowColor": "#ff0000",
"counterClockwiseGradient": true,
"gradientStops": 8,
"pollingIntervalSeconds": 60,
"pingCount": 5,
"minimumPing": 30,
"colorScalingInterval": 30
}
},
"questions": [
{
"key": "pingAddress",
"label": "Address",
"help": "Address of server to ICMP ping",
"placeholder": "e.g. www.example.com",
"required": true,
"order": 10,
"controlType": "textbox"
},
{
"key": "fastColor",
"label": "Fastest Ping Color (hex)",
"help": "Color indicating the slowest possible ping",
"required": false,
"order": 13,
"controlType": "textbox",
"value": "#00ff00"
},
{
"key": "slowColor",
"label": "Slowest Ping Color (hex)",
"help": "Color indicating the slowest possible ping",
"required": false,
"order": 14,
"controlType": "textbox",
"value": "#ff0000"
},
{
"key": "counterClockwiseGradient",
"label": "Use counterclockwise gradient calculation?",
"help": "Determines which direction to move around the color wheen when calculating the gradient",
"required": true,
"order": 16,
"controlType": "checkbox",
"value": true
},
{
"key": "gradientStops",
"label": "Color steps to be calculated between fastest and slowest ping",
"help": "Adjusts the granularity of point calculation on the gradient between the fastest and slowest ping colors (Default: 8)",
"required": false,
"order": 14,
"controlType": "textbox",
"value": 8
},
{
"key": "pollingIntervalSeconds",
"label": "Polling Interval (seconds)",
"help": "How often to ping the address (in seconds) and determine average response time. (Default: 60)",
"required": false,
"order": 20,
"controlType": "textbox",
"value": 60
},
{
"key": "pingCount",
"label": "Ping Count",
"help": "Number of pings to send per polling session (will be averaged). (Default: 5)",
"required": false,
"order": 30,
"controlType": "textbox",
"value": 5
},
{
"key": "minimumPing",
"label": "Low Threshold (milliseconds)",
"help": "Start of gradient. All ping times below this number will be considered green. (Default: 30ms)",
"required": false,
"order": 40,
"controlType": "textbox",
"value": 30
},
{
"key": "colorScalingInterval",
"label": "Color Interval (miliseconds)",
"help": "Number of milliseconds between each color step. (Default: 30ms)",
"required": false,
"order": 50,
"controlType": "textbox",
"value": 30
}
],
"requirements": {
"applet": {
"pingAddress": "string"
}
}
}
}