@dreipol/lighthouse-config
Advanced tools
Comparing version 3.0.0 to 3.0.1
{ | ||
"name": "@dreipol/lighthouse-config", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Basic lighthouse config", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -28,5 +28,5 @@ # @dreipol/lighthouse-config | ||
you can add some `preAuditScripts` in the config. Those scripts are executed right before lighthouse starts. | ||
These scripts have to implement the [`PreAuditScriptInterface`](src/index.ts) interface. | ||
These scripts have to implement the [`PreAuditScriptInterface`](src/PreAuditScriptInterface.ts) interface. | ||
The will be already on your desired route | ||
Before execution of this script, the browser instance will already be on the inital url, passed in the `execute` method of `Dreihouse` | ||
@@ -85,14 +85,2 @@ Here is an example of such login script | ||
}, | ||
reporters: { | ||
modules: [ | ||
'html', | ||
{ | ||
// my custom result reporter | ||
key: 'FancyReporter', | ||
handle: (results) => { | ||
console.log(results); | ||
} | ||
} | ||
] | ||
}, | ||
report: {...} | ||
@@ -99,0 +87,0 @@ |
66333
100