{"name":"lighthouse","version":"12.8.2","keywords":["google","chrome","devtools"],"author":{"name":"Google LLC"},"license":"Apache-2.0","_id":"lighthouse@12.8.2","maintainers":[{"name":"paulirish","email":"npm@paul.irish"},{"name":"brendankenny","email":"bckenny@gmail.com"},{"name":"hoten","email":"cjamcl@gmail.com"},{"name":"adamraine","email":"ad.st.raine@gmail.com"}],"homepage":"https://github.com/GoogleChrome/lighthouse#readme","bugs":{"url":"https://github.com/GoogleChrome/lighthouse/issues"},"bin":{"lighthouse":"cli/index.js","smokehouse":"cli/test/smokehouse/frontends/smokehouse-bin.js","chrome-debug":"core/scripts/manual-chrome-launcher.js"},"dist":{"shasum":"b55eb747148f807987f0e4c518f5fc4d97b7e230","tarball":"https://registry.npmjs.org/lighthouse/-/lighthouse-12.8.2.tgz","fileCount":1017,"integrity":"sha512-+5SKYzVaTFj22MgoYDPNrP9tlD2/Ay7j3SxPSFD9FpPyVxGr4UtOQGKyrdZ7wCmcnBaFk0mCkPfARU3CsE0nvA==","signatures":[{"sig":"MEUCIGGBFwM6gvm4ODfS45mYOL6BA/du4CDddEVrj61xB8nQAiEAoDX+zovBr4r6nHOY3qPYyN2rjSGxwYclD+PFp4+rM7A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19590846},"main":"./core/index.js","type":"module","engines":{"node":">=18.16"},"gitHead":"8dc40bb0e13a71b1c58aaf891810ac9360b86ac9","scripts":{"c8":"bash core/scripts/c8.sh","fast":"node ./cli/index.js --preset=desktop --throttlingMethod=provided","lint":"[ \"$CI\" = true ] && eslint --quiet -f codeframe . || eslint .","test":"yarn diff:sample-json && yarn lint --quiet && yarn unit && yarn type-check","unit":"yarn unit-flow && yarn mocha && yarn unit-lantern-trace","clean":"rm -r dist proto/scripts/*.json proto/scripts/*_pb2.* proto/scripts/*_pb.* proto/scripts/__pycache__ proto/scripts/*.pyc *.report.html *.report.dom.html *.report.json *.devtoolslog.json *.trace.json shared/localization/locales/*.ctc.json || true","debug":"node --inspect-brk ./cli/index.js","mocha":"node --loader=testdouble core/test/scripts/run-mocha-tests.js","smoke":"node -r source-map-support/register cli/test/smokehouse/frontends/smokehouse-bin.js","start":"yarn build-report --standalone && node ./cli/index.js","watch":"yarn unit-core --watch","chrome":"node core/scripts/manual-chrome-launcher.js","prepack":"yarn build-report --standalone --flow --esm && yarn build-types","unit:ci":"NODE_OPTIONS=--max-old-space-size=8192 npm run unit","build-lr":"yarn reset-link && node --max-old-space-size=4096 ./build/build-lightrider-bundles.js","cli-unit":"yarn unit-cli","coverage":"yarn unit:cicoverage && c8 report --reporter html","devtools":"bash core/scripts/roll-to-devtools.sh","postpack":"yarn clean-types","unit-cli":"yarn mocha --testMatch cli/**/*-test.js","build-all":"yarn build-report && yarn build-cdt-strings && yarn build-devtools && concurrently 'yarn build-extension' 'yarn build-lr' 'yarn build-viewer' 'yarn build-treemap' 'yarn build-smokehouse-bundle' 'yarn build-legacy-javascript' && yarn build-pack","changelog":"conventional-changelog --config ./build/changelog-generator/index.cjs --infile changelog.md --same-file","core-unit":"yarn unit-core","test-docs":"yarn --cwd docs/recipes/ test","unit-core":"yarn mocha core","unit-flow":"bash flow-report/test/run-flow-report-tests.sh","build-pack":"bash build/build-pack.sh","reset-link":"(yarn unlink || true) && yarn link && yarn link lighthouse","serve-dist":"cd dist && python3 -m http.server 7878","test-proto":"yarn compile-proto && yarn build-proto-roundtrip","type-check":"tsc --build ./tsconfig-all.json","build-types":"yarn type-check && rsync -a .tmp/tsbuildinfo/ ./ --include='*.d.ts' --include='*.d.cts' --exclude='*.map' --exclude='*.tsbuildinfo'","clean-types":"git clean -xfq '*.d.ts' '*.d.cts' -e 'node_modules/' -e 'dist/' -e '.tmp/' -e '**/types/'","flow-report":"yarn build-report --flow && node ./core/scripts/build-test-flow-report.js","i18n:checks":"./core/scripts/i18n/assert-strings-collected.sh","test-bundle":"yarn smoke --runner bundle","test-viewer":"yarn unit-viewer && yarn mocha --testMatch viewer/**/*-test-pptr.js --timeout 35000","unit-report":"yarn mocha --testMatch report/**/*-test.js","unit-viewer":"yarn mocha --testMatch viewer/**/*-test.js","viewer-unit":"yarn unit-viewer","build-report":"node build/build-report-components.js && node build/build-report.js","build-viewer":"node ./build/build-viewer.js","dogfood-lhci":"./core/scripts/dogfood-lhci.sh","run-devtools":"node core/scripts/pptr-run-devtools.js","serve-viewer":"yarn serve-gh-pages","test-clients":"yarn mocha --testMatch clients/**/*-test.js && yarn mocha --testMatch clients/**/*-test-pptr.js","test-lantern":"bash core/scripts/test-lantern.sh","test-treemap":"yarn unit-treemap && yarn mocha --testMatch treemap/**/*-test-pptr.js --timeout 35000","timing-trace":"node core/scripts/generate-timing-trace.js","unit-treemap":"yarn mocha --testMatch treemap/**/*-test.js","vercel-build":"yarn build-sample-reports && yarn build-viewer && yarn build-treemap","build-cdt-lib":"node ./build/build-cdt-lib.js","build-treemap":"node ./build/build-treemap.js","compile-proto":"protoc --python_out=./ ./proto/lighthouse-result.proto && mv ./proto/*_pb2.py ./proto/scripts || (echo \"❌ Install protobuf = 3.20.x to compile the proto file.\" && false)","deploy-viewer":"yarn build-viewer --deploy","open-devtools":"bash core/scripts/open-devtools.sh","serve-treemap":"yarn serve-gh-pages","static-server":"node cli/test/fixtures/static-server.js","test-devtools":"bash core/test/devtools-tests/test-locally.sh","build-devtools":"yarn reset-link && node ./build/build-bundle.js clients/devtools/devtools-entry.js dist/lighthouse-dt-bundle.js && node ./build/build-dt-report-resources.js","coverage:smoke":"yarn c8 yarn smoke -j=1 && c8 report --reporter html","deploy-treemap":"yarn build-treemap --deploy","serve-gh-pages":"cd dist/gh-pages && python3 -m http.server 7333","build-extension":"yarn build-extension-chrome && yarn build-extension-firefox","save-latest-run":"./core/scripts/save-latest-run.sh","unit:cicoverage":"yarn c8 --all yarn unit:ci && yarn c8 --all yarn unit-lantern-trace:ci","diff:sample-json":"yarn i18n:checks && bash core/scripts/assert-golden-lhr-unchanged.sh","build-cdt-strings":"node ./build/build-cdt-strings.js","unit-lantern-trace":"INTERNAL_LANTERN_USE_TRACE=1 yarn mocha core/test/computed/metrics core/test/audits","update:sample-json":"yarn i18n:collect-strings && node ./cli -A=./core/test/results/artifacts --config-path=./core/test/results/sample-config.js --output=json --output-path=./core/test/results/sample_v2.json && node core/scripts/cleanup-LHR-for-diff.js ./core/test/results/sample_v2.json --only-remove-timing && node ./core/scripts/update-flow-fixtures.js","build-sample-reports":"yarn build-report && node build/build-sample-reports.js","i18n:collect-strings":"node core/scripts/i18n/collect-strings.js","build-proto-roundtrip":"mkdir -p .tmp && python3 proto/scripts/json_roundtrip_via_proto.py","computeBenchmarkIndex":"./core/scripts/benchmark.js","diff:flow-sample-json":"yarn i18n:collect-strings && bash core/scripts/assert-baseline-flow-result-unchanged.sh","unit-lantern-trace:ci":"NODE_OPTIONS=--max-old-space-size=8192 npm run unit-lantern-trace","build-extension-chrome":"node ./build/build-extension.js chrome","test-legacy-javascript":"bash core/scripts/test-legacy-javascript.sh","build-extension-firefox":"node ./build/build-extension.js firefox","build-legacy-javascript":"node ./build/build-legacy-javascript.js","build-smokehouse-bundle":"node ./build/build-smokehouse-bundle.js","generate-insight-audits":"node core/scripts/generate-insight-audits.js","update:flow-sample-json":"yarn i18n:collect-strings && node ./core/scripts/update-flow-fixtures.js","update:lantern-baseline":"node core/scripts/lantern/update-baseline-lantern-values.js","update:sample-artifacts":"node core/scripts/update-report-fixtures.js"},"_npmUser":{"name":"hoten","email":"cjamcl@gmail.com"},"repository":{"url":"git+https://github.com/GoogleChrome/lighthouse.git","type":"git"},"_npmVersion":"10.8.2","description":"Automated auditing, performance metrics, and best practices for the web.","directories":{},"resolutions":{"puppeteer/**/devtools-protocol":"0.0.1507524","puppeteer-core/**/devtools-protocol":"0.0.1507524"},"_nodeVersion":"18.20.8","dependencies":{"ws":"^7.0.0","open":"^8.4.0","yargs":"^17.3.1","jpeg-js":"^0.4.4","axe-core":"^4.10.3","enquirer":"^2.3.6","lodash-es":"^4.17.21","configstore":"^7.0.0","tldts-icann":"^7.0.12","@sentry/node":"^9.28.1","yargs-parser":"^21.0.0","csp_evaluator":"1.1.5","robots-parser":"^3.0.1","puppeteer-core":"^24.17.1","speedline-core":"^1.4.3","chrome-launcher":"^1.2.0","third-party-web":"^0.27.0","http-link-header":"^1.1.1","devtools-protocol":"0.0.1507524","lighthouse-logger":"^2.0.2","intl-messageformat":"^10.5.3","js-library-detector":"^6.7.0","metaviewport-parser":"0.3.0","parse-cache-control":"1.0.1","lookup-closest-locale":"6.2.0","lighthouse-stack-packs":"1.12.2","@paulirish/trace_engine":"0.0.59"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"c8":"^7.11.3","cpy":"^8.1.2","glob":"^7.1.3","pako":"^2.1.0","acorn":"^8.5.0","chalk":"^2.4.1","jsdom":"^12.2.0","mocha":"^10.0.0","colors":"^1.4.0","eslint":"^9.28.0","expect":"^28.1.0","preact":"^10.7.2","terser":"^5.18.2","angular":"^1.7.4","es-main":"^1.2.0","esbuild":"0.25.9","globals":"^15.14.0","resolve":"^1.22.10","archiver":"^7.0.1","firebase":"^9.0.2","gh-pages":"^2.0.1","@types/ws":"^7.0.0","jest-mock":"^29.7.0","puppeteer":"^24.17.1","@eslint/js":"^9.28.0","@types/cpy":"^5.1.0","idb-keyval":"2.2.0","mime-types":"^2.1.30","testdouble":"^3.18.0","typescript":"5.8.2","@types/node":"*","@types/pako":"^1.0.1","@types/debug":"^4.1.7","@types/jsdom":"^16.2.13","@types/mocha":"^9.0.0","@types/yargs":"^17.0.8","concurrently":"^9.2.1","magic-string":"^0.25.7","@types/chrome":"^0.0.154","@types/eslint":"^9.6.1","@types/estree":"^0.0.50","@types/semver":"^5.5.0","csv-validator":"^0.0.3","jest-snapshot":"^29.7.0","@eslint/compat":"^1.3.0","@types/gtag.js":"0.0.20","@types/jpeg-js":"^0.3.7","@types/resolve":"^1.20.2","core-js-compat":"^3.44.0","webtreemap-cdt":"^3.2.1","@types/archiver":"^2.1.2","@types/gh-pages":"^2.0.0","builtin-modules":"^3.3.0","wait-for-expect":"^3.0.2","@eslint/eslintrc":"^3.3.1","@types/lodash-es":"^4.17.12","@jest/fake-timers":"^29.7.0","@build-tracker/cli":"^1.0.0-beta.15","@types/configstore":"^6.0.2","source-map-support":"^0.5.21","@types/yargs-parser":"^20.2.1","eslint-config-google":"^0.14.0","eslint-plugin-import":"^2.25.3","typed-query-selector":"^2.12.0","pretty-json-stringify":"^0.0.2","@esbuild-kit/esm-loader":"^2.1.1","@testing-library/preact":"^3.1.1","@types/google.analytics":"0.0.39","chrome-devtools-frontend":"1.0.1506453","@typescript-eslint/parser":"^8.34.0","eslint-plugin-local-rules":"1.1.0","conventional-changelog-cli":"^2.1.1","eslint-formatter-codeframe":"^7.32.1","rollup-plugin-polyfill-node":"^0.12.0","@testing-library/preact-hooks":"^1.1.0","@types/resize-observer-browser":"^0.1.1","@typescript-eslint/eslint-plugin":"^8.34.0","lighthouse-plugin-soft-navigation":"^1.1.0","@formatjs/icu-messageformat-parser":"^2.6.2","@esbuild-plugins/node-modules-polyfill":"^0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/lighthouse_12.8.2_1756416829527_0.2636161755716102","host":"s3://npm-registry-packages-npm-production"}}