Skip to content

Commit

Permalink
chore: small performance setup cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tjmaynes committed Dec 28, 2023
1 parent 9aed4bd commit 5428f76
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions lighthouserc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
module.exports = {
ci: {
collect: {
staticDistDir: "./public",
startServerCommand: "npm run start",
url: "http://localhost:9900",
startServerReadyTimeout: 60 * 5, // 5 minutes
numberOfRuns: 1,
},
assert: {
Expand All @@ -10,7 +12,7 @@ module.exports = {
"bf-cache": "off",
"csp-xss": "off",
"uses-long-cache-ttl": "off",
"total-byte-weight": "off"
"total-byte-weight": "off",
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"build": "webpack",
"dev": "webpack serve",
"start": "serve -p 9900 --no-request-logging public/",
"start": "npm run build && serve -p 9900 --no-request-logging public/",
"lighthouse": "lhci autorun",
"lint:pug": "prettier --write 'src/**/*.pug' --plugin='@prettier/plugin-pug'",
"lint:js": "prettier --write 'src/**/*.js' '*.js'",
Expand Down

0 comments on commit 5428f76

Please sign in to comment.