Skip to content

Commit

Permalink
feat: add Lighthouse runner extension (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamraine committed Sep 14, 2022
1 parent f7d9222 commit e3ace90
Show file tree
Hide file tree
Showing 9 changed files with 334 additions and 189 deletions.
2 changes: 1 addition & 1 deletion __snapshots__/lighthouse-e2e.test.ts.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
exports[
'Lighthouse stringify Puppeteer script generates a valid desktop flow report 1'
'Lighthouse user flow run via stringify produces a valid desktop flow report 1'
] = `
const fs = require('fs');
const puppeteer = require('puppeteer'); // v13.0.0 or later
Expand Down
141 changes: 72 additions & 69 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-tsdoc": "0.2.16",
"lighthouse": "9.5.0-dev.20220818",
"lighthouse": "9.5.0-dev.20220913",
"mime": "3.0.0",
"mocha": "10.0.0",
"prettier": "2.6.2",
Expand Down
1 change: 1 addition & 0 deletions rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export default [
format: 'cjs',
},
],
external: [/^lighthouse/],
plugins: [typescript()],
},
{
Expand Down

0 comments on commit e3ace90

Please sign in to comment.