diff --git a/package-lock.json b/package-lock.json index 6f3d64f..c7833e3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@firq/fgosite", - "version": "0.2.0-pre.104", + "version": "0.2.0-pre.105", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@firq/fgosite", - "version": "0.2.0-pre.104", + "version": "0.2.0-pre.105", "dependencies": { "@astro-community/astro-embed-youtube": "^0.5.6", "@astrojs/check": "^0.9.4", diff --git a/package.json b/package.json index 5532afe..7cdec0f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@firq/fgosite", "type": "module", - "version": "0.2.0-pre.104", + "version": "0.2.0-pre.105", "private": true, "scripts": { "dev": "astro dev", diff --git a/unlighthouse.config.ts b/unlighthouse.config.ts index 911aa2e..10c2f44 100644 --- a/unlighthouse.config.ts +++ b/unlighthouse.config.ts @@ -12,17 +12,21 @@ export default async (): Promise<UserConfig> => { /* actual config */ return { lighthouseOptions: { - throttlingMethod: 'devtools', + throttlingMethod: 'simulate', throttling: { - cpuSlowdownMultiplier: 4, - requestLatencyMs: 150, - downloadThroughputKbps: 1638.4, - uploadThroughputKbps: 1638.4, + rttMs: 150, + throughputKbps: 1638.4, + requestLatencyMs: 562.5, // estimated latency at 150ms RTT + downloadThroughputKbps: 1474.56, + uploadThroughputKbps: 675, + cpuSlowdownMultiplier: 4 }, screenEmulation: { - width: 412, - height: 823, - deviceScaleFactor: 1.75, + mobile: true, + width: 360, + height: 640, + deviceScaleFactor: 2.625, + disabled: false }, skipAudits: [ 'is-on-https', 'redirects-http', 'uses-http2' ], },