@weareberyl/scheme-assets 0.0.4 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/scheme_assets.json +38 -38
- package/package.json +10 -2
package/build/scheme_assets.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"gm_auth_welcome": {
|
|
4
4
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_auth_welcome.png",
|
|
5
5
|
"width": 305,
|
|
6
|
-
"height":
|
|
7
|
-
"aspectRatio": 0.
|
|
6
|
+
"height": 381,
|
|
7
|
+
"aspectRatio": 0.800524934383202
|
|
8
8
|
},
|
|
9
9
|
"gm_bbe": {
|
|
10
10
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_bbe.png",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"gm_bbe_small": {
|
|
28
28
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_bbe_small.png",
|
|
29
29
|
"width": 59,
|
|
30
|
-
"height":
|
|
31
|
-
"aspectRatio": 1.
|
|
30
|
+
"height": 53,
|
|
31
|
+
"aspectRatio": 1.1132075471698113
|
|
32
32
|
},
|
|
33
33
|
"gm_bike": {
|
|
34
34
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_bike.png",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
},
|
|
45
45
|
"gm_bike_front_tether_split": {
|
|
46
46
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_bike_front_tether_split.png",
|
|
47
|
-
"width":
|
|
48
|
-
"height":
|
|
49
|
-
"aspectRatio": 2.
|
|
47
|
+
"width": 226,
|
|
48
|
+
"height": 93,
|
|
49
|
+
"aspectRatio": 2.4301075268817205
|
|
50
50
|
},
|
|
51
51
|
"gm_bike_large": {
|
|
52
52
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_bike_large.png",
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
"gm_map_create_account": {
|
|
88
88
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_map_create_account.png",
|
|
89
89
|
"width": 100,
|
|
90
|
-
"height":
|
|
91
|
-
"aspectRatio":
|
|
90
|
+
"height": 100,
|
|
91
|
+
"aspectRatio": 1
|
|
92
92
|
},
|
|
93
93
|
"gm_onboarding_bike_dock": {
|
|
94
94
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_onboarding_bike_dock.png",
|
|
@@ -111,14 +111,14 @@
|
|
|
111
111
|
"gm_onboarding_bike_unlock_nfc": {
|
|
112
112
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_onboarding_bike_unlock_nfc.png",
|
|
113
113
|
"width": 305,
|
|
114
|
-
"height":
|
|
115
|
-
"aspectRatio": 0.
|
|
114
|
+
"height": 380,
|
|
115
|
+
"aspectRatio": 0.8026315789473685
|
|
116
116
|
},
|
|
117
117
|
"gm_onboarding_bike_unlock_no_nfc": {
|
|
118
118
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_onboarding_bike_unlock_no_nfc.png",
|
|
119
119
|
"width": 305,
|
|
120
|
-
"height":
|
|
121
|
-
"aspectRatio": 0.
|
|
120
|
+
"height": 380,
|
|
121
|
+
"aspectRatio": 0.8026315789473685
|
|
122
122
|
},
|
|
123
123
|
"gm_products_bundle_avatar": {
|
|
124
124
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_products_bundle_avatar.png",
|
|
@@ -129,8 +129,8 @@
|
|
|
129
129
|
"gm_products_bundle_banner": {
|
|
130
130
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_products_bundle_banner.png",
|
|
131
131
|
"width": 375,
|
|
132
|
-
"height":
|
|
133
|
-
"aspectRatio": 2.
|
|
132
|
+
"height": 169,
|
|
133
|
+
"aspectRatio": 2.2189349112426036
|
|
134
134
|
},
|
|
135
135
|
"gm_products_payr_avatar": {
|
|
136
136
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_products_payr_avatar.png",
|
|
@@ -141,8 +141,8 @@
|
|
|
141
141
|
"gm_switch_to_scheme": {
|
|
142
142
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_switch_to_scheme.png",
|
|
143
143
|
"width": 100,
|
|
144
|
-
"height":
|
|
145
|
-
"aspectRatio":
|
|
144
|
+
"height": 100,
|
|
145
|
+
"aspectRatio": 1
|
|
146
146
|
},
|
|
147
147
|
"gm_valid_parking": {
|
|
148
148
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_valid_parking.png",
|
|
@@ -152,24 +152,24 @@
|
|
|
152
152
|
}
|
|
153
153
|
},
|
|
154
154
|
"hackney-cargo-bike": {
|
|
155
|
-
"
|
|
156
|
-
"uri": "https://storage.googleapis.com/rider_app_images_pdn/hackney-cargo-bike/
|
|
155
|
+
"auth_welcome": {
|
|
156
|
+
"uri": "https://storage.googleapis.com/rider_app_images_pdn/hackney-cargo-bike/auth_welcome.png",
|
|
157
157
|
"width": 164,
|
|
158
158
|
"height": 206,
|
|
159
159
|
"aspectRatio": 0.7961165048543689
|
|
160
160
|
},
|
|
161
|
+
"cargo_onboarding_howtoride": {
|
|
162
|
+
"uri": "https://storage.googleapis.com/rider_app_images_pdn/hackney-cargo-bike/cargo_onboarding_howtoride.png",
|
|
163
|
+
"width": 328,
|
|
164
|
+
"height": 134,
|
|
165
|
+
"aspectRatio": 2.4477611940298507
|
|
166
|
+
},
|
|
161
167
|
"cargo_onboarding_returning": {
|
|
162
168
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/hackney-cargo-bike/cargo_onboarding_returning.png",
|
|
163
169
|
"width": 333,
|
|
164
170
|
"height": 428,
|
|
165
171
|
"aspectRatio": 0.7780373831775701
|
|
166
172
|
},
|
|
167
|
-
"cargo_onboarding_riding_2": {
|
|
168
|
-
"uri": "https://storage.googleapis.com/rider_app_images_pdn/hackney-cargo-bike/cargo_onboarding_riding_2.png",
|
|
169
|
-
"width": 328,
|
|
170
|
-
"height": 134,
|
|
171
|
-
"aspectRatio": 2.4477611940298507
|
|
172
|
-
},
|
|
173
173
|
"cargo_onboarding_welcome": {
|
|
174
174
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/hackney-cargo-bike/cargo_onboarding_welcome.png",
|
|
175
175
|
"width": 164,
|
|
@@ -180,9 +180,9 @@
|
|
|
180
180
|
"hereford": {
|
|
181
181
|
"onboarding_welcome": {
|
|
182
182
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/hereford/onboarding_welcome.png",
|
|
183
|
-
"width":
|
|
184
|
-
"height":
|
|
185
|
-
"aspectRatio": 0.
|
|
183
|
+
"width": 471,
|
|
184
|
+
"height": 589,
|
|
185
|
+
"aspectRatio": 0.799660441426146
|
|
186
186
|
}
|
|
187
187
|
},
|
|
188
188
|
"leeds": {
|
|
@@ -224,9 +224,9 @@
|
|
|
224
224
|
},
|
|
225
225
|
"leeds_bike_front_tether_split": {
|
|
226
226
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/leeds/leeds_bike_front_tether_split.png",
|
|
227
|
-
"width":
|
|
228
|
-
"height":
|
|
229
|
-
"aspectRatio": 2.
|
|
227
|
+
"width": 226,
|
|
228
|
+
"height": 93,
|
|
229
|
+
"aspectRatio": 2.4301075268817205
|
|
230
230
|
},
|
|
231
231
|
"leeds_bike_large": {
|
|
232
232
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/leeds/leeds_bike_large.png",
|
|
@@ -329,8 +329,8 @@
|
|
|
329
329
|
"wm_auth_welcome": {
|
|
330
330
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_auth_welcome.png",
|
|
331
331
|
"width": 328,
|
|
332
|
-
"height":
|
|
333
|
-
"aspectRatio": 0.
|
|
332
|
+
"height": 424,
|
|
333
|
+
"aspectRatio": 0.7735849056603774
|
|
334
334
|
},
|
|
335
335
|
"wm_bbe": {
|
|
336
336
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_bbe.png",
|
|
@@ -437,8 +437,8 @@
|
|
|
437
437
|
"wm_onboarding_welcome": {
|
|
438
438
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_onboarding_welcome.png",
|
|
439
439
|
"width": 328,
|
|
440
|
-
"height":
|
|
441
|
-
"aspectRatio": 0.
|
|
440
|
+
"height": 420,
|
|
441
|
+
"aspectRatio": 0.780952380952381
|
|
442
442
|
},
|
|
443
443
|
"wm_products_bundle_banner": {
|
|
444
444
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_products_bundle_banner.png",
|
|
@@ -454,9 +454,9 @@
|
|
|
454
454
|
},
|
|
455
455
|
"wm_switch_to_scheme": {
|
|
456
456
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_switch_to_scheme.png",
|
|
457
|
-
"width":
|
|
458
|
-
"height":
|
|
459
|
-
"aspectRatio": 0.
|
|
457
|
+
"width": 133,
|
|
458
|
+
"height": 134,
|
|
459
|
+
"aspectRatio": 0.9925373134328358
|
|
460
460
|
},
|
|
461
461
|
"wm_valid_parking": {
|
|
462
462
|
"uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_valid_parking.png",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weareberyl/scheme-assets",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"main": "build/index.js",
|
|
5
5
|
"types": "build/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -10,16 +10,24 @@
|
|
|
10
10
|
"clean": "rm -rf build",
|
|
11
11
|
"build": "yarn clean && tsc",
|
|
12
12
|
"start": "node ./src/index.js",
|
|
13
|
+
"prepack": "yarn resize-images && yarn gcloud-sync",
|
|
13
14
|
"compress-images": "node scripts/compress-images.js",
|
|
14
15
|
"is-compressed": "node scripts/is-compressed.js",
|
|
15
|
-
"codegen-sizes": "node scripts/image-sizes.js"
|
|
16
|
+
"codegen-sizes": "node scripts/image-sizes.js",
|
|
17
|
+
"resize-images": "node scripts/resize-images.js",
|
|
18
|
+
"gcloud-sync": "node scripts/gcloud-sync.js"
|
|
16
19
|
},
|
|
17
20
|
"repository": "https://github.com/team-blaze/basis-scheme-assets.git",
|
|
18
21
|
"author": "Matt Newhall <matt@newhall.dev>",
|
|
19
22
|
"license": "MIT",
|
|
20
23
|
"devDependencies": {
|
|
24
|
+
"@google-cloud/storage": "^7.12.0",
|
|
25
|
+
"dotenv": "^16.4.5",
|
|
21
26
|
"image-size": "^1.1.1",
|
|
22
27
|
"oxipng-node": "^1.1.1",
|
|
23
28
|
"typescript": "^5.5.3"
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"sharp": "^0.32"
|
|
24
32
|
}
|
|
25
33
|
}
|