mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-21 02:04:50 -04:00
👷 Add Lighthouse CI configuration
This commit is contained in:
@@ -144,3 +144,4 @@ hugo.linux
|
|||||||
|
|
||||||
exampleSite/public/
|
exampleSite/public/
|
||||||
TODO
|
TODO
|
||||||
|
.lighthouseci
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
module.exports = {
|
||||||
|
ci: {
|
||||||
|
collect: {
|
||||||
|
startServerCommand: "npm run example",
|
||||||
|
startServerReadyPattern: "Web Server is available",
|
||||||
|
url: ["http://localhost:8008/congo/samples/markdown/"],
|
||||||
|
},
|
||||||
|
upload: {
|
||||||
|
target: "temporary-public-storage",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
+2
-1
@@ -9,7 +9,8 @@
|
|||||||
"assets": "rimraf assets/vendor && vendor-copy",
|
"assets": "rimraf assets/vendor && vendor-copy",
|
||||||
"dev": "NODE_ENV=development ./node_modules/tailwindcss/lib/cli.js -i ./assets/css/main.css -o ./assets/css/compiled/main.css --jit -w",
|
"dev": "NODE_ENV=development ./node_modules/tailwindcss/lib/cli.js -i ./assets/css/main.css -o ./assets/css/compiled/main.css --jit -w",
|
||||||
"build": "NODE_ENV=production ./node_modules/tailwindcss/lib/cli.js -i ./assets/css/main.css -o ./assets/css/compiled/main.css --jit",
|
"build": "NODE_ENV=production ./node_modules/tailwindcss/lib/cli.js -i ./assets/css/main.css -o ./assets/css/compiled/main.css --jit",
|
||||||
"example": "hugo server --source exampleSite --themesDir ../.. --buildDrafts -b http://localhost/congo/ -p 8008"
|
"example": "hugo server --source exampleSite --themesDir ../.. --buildDrafts -b http://localhost/congo/ -p 8008",
|
||||||
|
"lighthouse": "lhci autorun"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in New Issue
Block a user