-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
202 lines (202 loc) · 5.1 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
199
200
201
202
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "running-page",
"title": "Running Page",
"description": "running_page project extension",
"icon": "extension_icon.png",
"author": "Lemon",
"categories": [
"Data",
"Fun"
],
"license": "MIT",
"commands": [
{
"name": "index",
"title": "Activities",
"description": "Show activities powered by running_page ❤\uFE0F",
"mode": "view",
"preferences": [
{
"name": "light-style",
"title": "Light Style",
"description": "Use light style for the map",
"type": "dropdown",
"default": "dark-v11",
"required": false,
"data": [
{
"title": "streets-v12",
"value": "streets-v12"
},
{
"title": "outdoors-v12",
"value": "outdoors-v12"
},
{
"title": "light-v11",
"value": "light-v11"
},
{
"title": "dark-v11",
"value": "dark-v11"
},
{
"title": "satellite-v9",
"value": "satellite-v9"
},
{
"title": "satellite-streets-v12",
"value": "satellite-streets-v12"
}
]
},
{
"name": "dark-style",
"title": "Dark Style",
"description": "Use dark style for the map",
"type": "dropdown",
"default": "dark-v11",
"required": false,
"data": [
{
"title": "streets-v12",
"value": "streets-v12"
},
{
"title": "outdoors-v12",
"value": "outdoors-v12"
},
{
"title": "light-v11",
"value": "light-v11"
},
{
"title": "dark-v11",
"value": "dark-v11"
},
{
"title": "satellite-v9",
"value": "satellite-v9"
},
{
"title": "satellite-streets-v12",
"value": "satellite-streets-v12"
}
]
},
{
"name": "stroke-color",
"title": "Stroke Color",
"description": "A 3- or 6-digit hexadecimal color code for the map line stroke",
"type": "textfield",
"default": "f44",
"required": false
}
]
},
{
"name": "menubar-totals",
"title": "Workouts Totals",
"description": "See your total distance and time for your workouts",
"mode": "menu-bar",
"interval": "1d",
"preferences": [
{
"name": "primary_sport",
"title": "Primary Sport",
"description": "The sport you want to see totals for in the menu bar",
"type": "dropdown",
"default": "Run",
"required": true,
"data": [
{
"value": "Run",
"title": "Run"
},
{
"value": "Ride",
"title": "Ride"
},
{
"value": "Swim",
"title": "Swim"
}
]
},
{
"name": "primary_stat",
"title": "Primary Stat",
"description": "The stat you want to see in the menu bar",
"type": "dropdown",
"default": "recent",
"required": true,
"data": [
{
"value": "recent",
"title": "Last 4 weeks"
},
{
"value": "year",
"title": "This Year"
},
{
"value": "all",
"title": "All time"
}
]
}
]
},
{
"name": "statistics",
"title": "Statistics",
"description": "Display the statistics of your activities",
"mode": "view"
}
],
"preferences": [
{
"name": "repository",
"title": "GitHub Repository",
"description": "Running page repository location",
"type": "textfield",
"placeholder": "yihong0618/running_page",
"required": true
},
{
"name": "path",
"title": "Data Path",
"description": "Path to the activities data",
"default": "src/static/activities.json",
"type": "textfield",
"required": false
},
{
"name": "mapbox_access_token",
"title": "Mapbox Access Token",
"description": "Mapbox Access Token",
"type": "password",
"required": false
}
],
"dependencies": {
"@raycast/api": "^1.72.1",
"@raycast/utils": "^1.15.0"
},
"devDependencies": {
"@raycast/eslint-config": "^1.0.6",
"@types/node": "20.8.10",
"@types/react": "18.2.27",
"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",
"publish": "npx @raycast/api@latest publish"
}
}