Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@dreipol/lighthouse-config
Advanced tools
Basic configuration files for the lighthouse reporting
const config = require('@dreipol/lighthouse-config/config/<ENV>/<DEVICE>');
local
or production
desktop
or mobile
You can extend the base configuration with your own configuration. This is done by creating a new config file in your project and include the base config via require. Then you can edit the Object the way you want
Example for local mobile config:
let mobileConfig = require('@dreipol/lighthouse-config/config/local/desktop');
mobileConfig.chromeFlags = ['--window-size=320,480'];
mobileConfig.disableEmulation = false;
mobileConfig.disableThrottling = false;
module.exports = mobileConfig;
field | type | default | value |
---|---|---|---|
url | string | local:http://localhsot:8000 production:https://example.com | where all the reports are run |
paths | Array | [/ ] | Array of url paths. All these routes are tested and reported |
chromeFlags | Array | ['--window-size=1200,800'] | Array of additional chrome flags. See all |
folder | string | ../reports | Define location to store the reports |
disableEmulation | boolean | true | Applay device emulation |
disableThrottling | boolean | true | Disable Network and CPU throttling |
saveReport | boolean | true | Save report as json file for further inspections |
report | Object | Lighthouse report configurations. See exmaples |
FAQs
Basic lighthouse config
The npm package @dreipol/lighthouse-config receives a total of 1 weekly downloads. As such, @dreipol/lighthouse-config popularity was classified as not popular.
We found that @dreipol/lighthouse-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.