Skip to content

Commit

Permalink
Merge pull request #119 from MetroStar/unlighthouse-update-fix
Browse files Browse the repository at this point in the history
Update unlighthouse to latest. Update unlighthouse config.
  • Loading branch information
jbouder authored Mar 7, 2024
2 parents bea1026 + c43eed3 commit 8e36a0c
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 38 deletions.
69 changes: 36 additions & 33 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 @@ -86,7 +86,7 @@
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.3.3",
"unlighthouse": "0.11.4",
"unlighthouse": "0.11.5",
"vite": "^5.1.4",
"vite-plugin-environment": "1.1.3",
"vite-plugin-eslint": "1.8.1",
Expand Down
6 changes: 2 additions & 4 deletions unlighthouse.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { defineConfig } from 'unlighthouse';
export default defineConfig({
ci: {
budget: {
// performance: 90,
performance: 90,
accessibility: 90,
'best-practices': 90,
seo: 90,
Expand Down Expand Up @@ -32,11 +32,9 @@ export default defineConfig({
// headless: false,
// slowMo: 50,
},
routerPrefix: '/comet-starter',
scanner: {
device: 'desktop',
skipJavascript: false,
},
site: 'https://metrostar.github.io',
urls: ['/comet-starter'],
site: 'https://metrostar.github.io/comet-starter',
});

0 comments on commit 8e36a0c

Please sign in to comment.