From 7c2043f899f000e043e085a1a926a7706646bd7b Mon Sep 17 00:00:00 2001 From: Mumtahin Farabi Date: Mon, 2 Dec 2024 22:08:47 -0500 Subject: [PATCH] chore(config): add lighthouse script to package.json --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 6774fcab..bdb70773 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,8 @@ "lint:inspect": "pnpx @eslint/config-inspector --no-open", "lint:inspect-open": "pnpx @eslint/config-inspector", "lint:inspect-build": "pnpx @eslint/config-inspector build --outDir dist/config-inspector", - "chromatic": "pnpx chromatic" + "chromatic": "pnpx chromatic", + "lighthouse": "pnpm exec serve lighthouse-report --no-clipboard & sleep 1 && xdg-open 'http://localhost:3000/latest-report'" }, "dependencies": { "@radix-ui/react-accordion": "^1.2.1",