Skip to content

Commit

Permalink
missing plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
p5quared committed Jul 16, 2024
1 parent d47410d commit f1127d3
Show file tree
Hide file tree
Showing 6 changed files with 85 additions and 71 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: LighthouseCI

on: [push]

Expand Down
7 changes: 0 additions & 7 deletions lighthouserc.js

This file was deleted.

17 changes: 17 additions & 0 deletions lighthouserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"ci": {
"assert": {
"preset": "lighthouse:recommended",
"assertions": {
"categories.pwa": "off",
"bypass": ["error", {"minScore": 0}],
"offline-start-url": ["error", {"minScore": 0}],
"service-worker": ["error", {"minScore": 0}],
"works-offline": ["error", {"minScore": 0}],
"redirects-http": ["warn", {"minScore": 0}],
"render-blocking-resources": ["warn", {"maxLength": 1}],
"uses-http2": ["warn", {"minScore": 0}]
}
}
}
}
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
"@portabletext/svelte": "^2.1.11",
"@sveltejs/adapter-auto": "^3.2.2",
"@sveltejs/kit": "^2.5.18",
"@sveltejs/vite-plugin-svelte": "^3.1.1",
"@tailwindcss/typography": "^0.5.13",
"@types/node": "^20.14.10",
"@types/node": "^20.14.11",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"autoprefixer": "^10.4.19",
Expand All @@ -30,10 +31,10 @@
"prettier-plugin-svelte": "^3.2.5",
"svelte": "^4.2.18",
"svelte-check": "^3.8.4",
"tailwindcss": "^3.4.5",
"tailwindcss": "^3.4.6",
"tslib": "^2.6.3",
"typescript": "^5.5.3",
"vite": "^5.3.3",
"vite": "^5.3.4",
"vitest": "^2.0.3"
},
"type": "module",
Expand Down
Loading

0 comments on commit f1127d3

Please sign in to comment.