Closed connorjclark closed 3 years ago
Example, tests are >20% of the package. Can we remove that?
we kept tests so that we could verify a "local install" continued to work. here's back where it first debuted: https://github.com/GoogleChrome/lighthouse/pull/1409
why? i thinkkkkkk it may have been because we got burnt once when we didn't compile our TSC before publishing and we made a bad publish. @brendankenny that sound right?
since we don't have any mandatory compilation anymore, this isn't a risk, so perhaps we could drop the npm explore lighthouse -- npm run …
bits from our modern release/test.sh.
why? i thinkkkkkk it may have been because we got burnt once when we didn't compile our TSC before publishing and we made a bad publish. @brendankenny that sound right?
that is possible :)
since we don't have any mandatory compilation anymore, this isn't a risk, so perhaps we could drop the
npm explore lighthouse -- npm run …
bits from our modern release/test.sh.
The main thing, though, is that we should have tests that run lighthouse from the packed module to make sure it actually runs. If we drop the npm explore lighthouse -- npm run smoke -- ...
ones, I don't think we have any tests of the packed module in the release process beyond a very simple npm explore lighthouse -- npm run fast -- http://example.com
, which is basically just testing if it runs with a non-zero exit code.
Perhaps a goal of #11734 could be to be able to run tests on the packed module in a way that the tests don't have to be in the module? A new smokehouse runner? Or is there an easier way to substitute in the tarball?
Not sure why this came up today, but if we're concerned about Lighthouse's size, there is low(er?) hanging fruit in our dependencies that majorly affect our _installed_size. e.g. jsonld
, despite still not being used by default, brings in a large number of transitive non-dev dependencies.
can we copy the tests into the packed enviornment?
npm explore lighthouse -- "cp $PWD/lighthouse-cli/tests lighthouse-cli/tests && npm run smoke"
This worked:
npm explore lighthouse -- bash -c "cp -r $PWD/../lighthouse/lighthouse-cli/test $PWD/node_modules/lighthouse/lighthouse-cli && npm run smoke -- --retries=3"
But no need to complicate this command. Can tweak test.sh to:
npm init -y
cp -r "$LH_PRISTINE_ROOT/lighthouse-cli/test" node_modules/lighthouse/lighthouse-cli
npx add-dependencies package.json "$LH_PRISTINE_ROOT/lighthouse-$VERSION.tgz" mime-types lodash.clonedeep
npm install --only=prod
npm explore lighthouse -- npm run smoke -- --retries=3
npm explore lighthouse -- npm run fast -- http://example.com
Ends up saving 4.07 MB 23%
.
I think we've done all we will do here.
some silly things made it in last npm publish. dist/<folder>/...
files are now inexplicably included ...
npm notice 53B .gitattributes
npm notice 405B .mailmap
npm notice 319B AUTHORS
npm notice 11.4kB LICENSE
npm notice 1.6kB third-party/download-content-shell/LICENSE
npm notice 30.3kB dist/gh-pages/treemap/styles/bundled.css
npm notice 51.6kB dist/gh-pages/viewer/styles/bundled.css
npm notice 3.6kB dist/extension-chrome/styles/lighthouse.css
npm notice 3.6kB dist/extension-firefox/styles/lighthouse.css
npm notice 48.7kB dist/dt-report-resources/report.css
npm notice 48.7kB report/assets/styles.css
npm notice 7.5kB dist/gh-pages/treemap/index.html
npm notice 37.9kB dist/gh-pages/viewer/index.html
npm notice 4.1kB dist/extension-chrome/popup.html
npm notice 4.1kB dist/extension-firefox/popup.html
npm notice 3.0kB dist/dt-report-resources/standalone-template.html
npm notice 3.0kB report/assets/standalone-template.html
npm notice 33.4kB dist/dt-report-resources/templates.html
npm notice 33.4kB report/assets/templates.html
npm notice 1.4kB .cz-config.js
npm notice 4.8kB lighthouse-core/gather/gatherers/accessibility.js
npm notice 2.4kB lighthouse-core/audits/accessibility/accesskeys.js
npm notice 4.7kB lighthouse-core/gather/gatherers/anchor-elements.js
npm notice 871B lighthouse-core/fraggle-rock/api.js
npm notice 2.8kB lighthouse-core/audits/dobetterweb/appcache-manifest.js
npm notice 1.3kB lighthouse-core/gather/gatherers/dobetterweb/appcache.js
npm notice 3.7kB lighthouse-core/audits/apple-touch-icon.js
npm notice 2.3kB lighthouse-core/lib/arbitrary-equality-map.js
npm notice 2.5kB lighthouse-core/audits/accessibility/aria-allowed-attr.js
npm notice 2.5kB lighthouse-core/audits/accessibility/aria-command-name.js
npm notice 2.4kB lighthouse-core/audits/accessibility/aria-hidden-body.js
npm notice 2.5kB lighthouse-core/audits/accessibility/aria-hidden-focus.js
npm notice 2.4kB lighthouse-core/audits/accessibility/aria-input-field-name.js
npm notice 2.4kB lighthouse-core/audits/accessibility/aria-meter-name.js
npm notice 2.4kB lighthouse-core/audits/accessibility/aria-progressbar-name.js
npm notice 2.5kB lighthouse-core/audits/accessibility/aria-required-attr.js
npm notice 2.7kB lighthouse-core/audits/accessibility/aria-required-children.js
npm notice 2.9kB lighthouse-core/audits/accessibility/aria-required-parent.js
npm notice 2.3kB lighthouse-core/audits/accessibility/aria-roles.js
npm notice 2.4kB lighthouse-core/audits/accessibility/aria-toggle-field-name.js
npm notice 2.4kB lighthouse-core/audits/accessibility/aria-tooltip-name.js
npm notice 2.4kB lighthouse-core/audits/accessibility/aria-treeitem-name.js
npm notice 2.4kB lighthouse-core/audits/accessibility/aria-valid-attr-value.js
npm notice 2.4kB lighthouse-core/audits/accessibility/aria-valid-attr.js
npm notice 11.2kB lighthouse-core/lib/asset-saver.js
npm notice 9.9kB lighthouse-core/audits/audit.js
npm notice 15.1kB lighthouse-core/audits/autocomplete.js
npm notice 4.3kB lighthouse-core/audits/accessibility/axe-audit.js
npm notice 758B lighthouse-core/lib/axe.js
npm notice 3.2kB lighthouse-core/fraggle-rock/gather/base-artifacts.js
npm notice 4.0kB lighthouse-core/fraggle-rock/gather/base-gatherer.js
npm notice 10.8kB lighthouse-core/lib/dependency-graph/base-node.js
npm notice 4.6kB lighthouse-cli/bin.js
npm notice 9.4kB lighthouse-core/audits/bootup-time.js
npm notice 12.1kB lighthouse-core/config/budget.js
npm notice 553B build-tracker.config.js
npm notice 2.6kB lighthouse-cli/test/smokehouse/lighthouse-runners/bundle.js
npm notice 278.6kB dist/gh-pages/treemap/src/bundled.js
npm notice 363.1kB dist/gh-pages/viewer/src/bundled.js
npm notice 2.4kB lighthouse-core/audits/accessibility/button-name.js
npm notice 2.7kB lighthouse-core/audits/accessibility/bypass.js
npm notice 10.5kB lighthouse-core/audits/byte-efficiency/byte-efficiency-audit.js
npm notice 2.0kB lighthouse-core/gather/gatherers/cache-contents.js
npm notice 9.7kB lighthouse-core/audits/seo/canonical.js
npm notice 20.5kB report/test/renderer/category-renderer-test.js
npm notice 18.3kB report/renderer/category-renderer.js
npm notice 4.6kB lighthouse-core/audits/dobetterweb/charset.js
npm notice 1.2kB lighthouse-cli/test/smokehouse/lib/child-process-error.js
npm notice 20.0kB lighthouse-cli/cli-flags.js
npm notice 4.7kB lighthouse-cli/test/smokehouse/lighthouse-runners/cli.js
npm notice 2.5kB lighthouse-core/audits/accessibility/color-contrast.js
npm notice 794B lighthouse-cli/commands/commands.js
npm notice 1.3kB commitlint.config.js
npm notice 741B lighthouse-core/lib/cdt/Common.js
npm notice 2.6kB lighthouse-core/computed/computed-artifact.js
npm notice 4.2kB lighthouse-cli/test/smokehouse/lib/concurrent-mapper.js
npm notice 20.7kB lighthouse-core/config/config-helpers.js
npm notice 7.5kB lighthouse-core/config/config-plugin.js
npm notice 22.8kB lighthouse-core/config/config.js
npm notice 7.6kB lighthouse-core/fraggle-rock/config/config.js
npm notice 6.8kB lighthouse-core/lib/dependency-graph/simulator/connection-pool.js
npm notice 5.6kB lighthouse-core/gather/connections/connection.js
npm notice 5.7kB lighthouse-core/gather/gatherers/console-messages.js
npm notice 5.6kB lighthouse-core/config/constants.js
npm notice 3.5kB lighthouse-core/audits/content-width.js
npm notice 2.2kB lighthouse-core/lib/dependency-graph/cpu-node.js
npm notice 23.6kB lighthouse-core/lib/tracehouse/cpu-profile-model.js
npm notice 4.2kB lighthouse-core/audits/seo/crawlable-anchors.js
npm notice 4.4kB report/test/renderer/crc-details-renderer-test.js
npm notice 7.7kB report/renderer/crc-details-renderer.js
npm notice 5.6kB lighthouse-core/gather/connections/cri.js
npm notice 8.3kB lighthouse-core/audits/critical-request-chains.js
npm notice 5.7kB lighthouse-core/computed/critical-request-chains.js
npm notice 10.8kB lighthouse-core/lib/csp-evaluator.js
npm notice 7.4kB lighthouse-core/audits/csp-xss.js
npm notice 2.7kB lighthouse-core/gather/gatherers/css-usage.js
npm notice 3.2kB lighthouse-core/audits/metrics/cumulative-layout-shift.js
npm notice 5.4kB lighthouse-core/computed/metrics/cumulative-layout-shift.js
npm notice 1.3kB lighthouse-core/audits/accessibility/manual/custom-controls-labels.js
npm notice 1.2kB lighthouse-core/audits/accessibility/manual/custom-controls-roles.js
npm notice 40.2kB lighthouse-core/config/default-config.js
npm notice 7.5kB lighthouse-core/fraggle-rock/config/default-config.js
npm notice 2.6kB lighthouse-core/audits/accessibility/definition-list.js
npm notice 3.9kB lighthouse-core/audits/deprecations.js
npm notice 989B lighthouse-core/config/desktop-config.js
npm notice 30.8kB report/test/renderer/details-renderer-test.js
npm notice 20.0kB report/renderer/details-renderer.js
npm notice 1.5kB lighthouse-core/gather/gatherers/devtools-log-compat.js
npm notice 1.6kB lighthouse-core/gather/devtools-log.js
npm notice 2.3kB lighthouse-core/gather/gatherers/devtools-log.js
npm notice 3.5kB lighthouse-core/audits/diagnostics.js
npm notice 2.5kB lighthouse-core/audits/accessibility/dlitem.js
npm notice 3.0kB lighthouse-core/lib/dependency-graph/simulator/dns-cache.js
npm notice 3.8kB lighthouse-core/audits/dobetterweb/doctype.js
npm notice 1.6kB lighthouse-core/gather/gatherers/dobetterweb/doctype.js
npm notice 2.4kB lighthouse-core/audits/accessibility/document-title.js
npm notice 5.5kB lighthouse-core/audits/dobetterweb/dom-size.js
npm notice 6.8kB report/test/renderer/dom-test.js
npm notice 2.3kB lighthouse-core/gather/driver/dom.js
npm notice 7.3kB report/renderer/dom.js
npm notice 3.3kB lighthouse-core/gather/gatherers/dobetterweb/domstats.js
npm notice 6.3kB third-party/download-content-shell/download-content-shell.js
npm notice 2.6kB lighthouse-core/fraggle-rock/gather/driver.js
npm notice 15.0kB lighthouse-core/gather/driver.js
npm notice 2.4kB lighthouse-core/audits/accessibility/duplicate-id-active.js
npm notice 2.3kB lighthouse-core/audits/accessibility/duplicate-id-aria.js
npm notice 9.9kB lighthouse-core/audits/byte-efficiency/duplicated-javascript.js
npm notice 4.2kB lighthouse-core/audits/byte-efficiency/efficient-animated-content.js
npm notice 5.9kB report/test/renderer/element-screenshot-renderer-test.js
npm notice 11.8kB report/renderer/element-screenshot-renderer.js
npm notice 2.3kB lighthouse-core/gather/gatherers/seo/embedded-content.js
npm notice 4.3kB lighthouse-core/lib/emulation.js
npm notice 4.5kB lighthouse-core/gather/driver/environment.js
npm notice 4.8kB lighthouse-core/audits/errors-in-console.js
npm notice 4.0kB eslint-local-rules.js
npm notice 10.3kB lighthouse-core/gather/driver/execution-context.js
npm notice 1.6kB lighthouse-core/config/experimental-config.js
npm notice 4.4kB lighthouse-core/audits/dobetterweb/external-anchors-use-rel-noopener.js
npm notice 10.9kB lighthouse-core/gather/fetcher.js
npm notice 1.8kB lighthouse-core/lib/file-namer.js
npm notice 4.9kB lighthouse-core/fraggle-rock/config/filters.js
npm notice 2.3kB lighthouse-core/audits/final-screenshot.js
npm notice 2.8kB lighthouse-core/audits/metrics/first-contentful-paint-3g.js
npm notice 1.5kB lighthouse-core/computed/metrics/first-contentful-paint-all-frames.js
npm notice 3.5kB lighthouse-core/audits/metrics/first-contentful-paint.js
npm notice 1.7kB lighthouse-core/computed/metrics/first-contentful-paint.js
npm notice 3.8kB lighthouse-core/audits/metrics/first-meaningful-paint.js
npm notice 1.9kB lighthouse-core/computed/metrics/first-meaningful-paint.js
npm notice 1.2kB lighthouse-core/audits/accessibility/manual/focus-traps.js
npm notice 1.2kB lighthouse-core/audits/accessibility/manual/focusable-controls.js
npm notice 8.8kB lighthouse-core/audits/font-display.js
npm notice 12.9kB lighthouse-core/audits/seo/font-size.js
npm notice 14.3kB lighthouse-core/gather/gatherers/seo/font-size.js
npm notice 4.0kB lighthouse-core/gather/gatherers/form-elements.js
npm notice 2.5kB lighthouse-core/audits/accessibility/form-field-multiple-labels.js
npm notice 2.4kB lighthouse-core/audits/accessibility/frame-title.js
npm notice 752B lighthouse-core/config/full-config.js
npm notice 1.4kB lighthouse-core/audits/full-page-screenshot.js
npm notice 8.0kB lighthouse-core/gather/gatherers/full-page-screenshot.js
npm notice 1.1kB lighthouse-core/gather/gatherers/gather-context.js
npm notice 23.1kB lighthouse-core/gather/gather-runner.js
npm notice 2.3kB lighthouse-core/gather/gatherers/gatherer.js
npm notice 3.3kB lighthouse-core/audits/dobetterweb/geolocation-on-start.js
npm notice 3.2kB lighthouse-core/gather/gatherers/global-listeners.js
npm notice 2.5kB lighthouse-core/audits/accessibility/heading-order.js
npm notice 1.4kB lighthouse-core/gather/gatherers/host-form-factor.js
npm notice 1.3kB lighthouse-core/gather/gatherers/host-user-agent.js
npm notice 6.2kB lighthouse-core/audits/seo/hreflang.js
npm notice 2.6kB lighthouse-core/audits/accessibility/html-has-lang.js
npm notice 2.5kB lighthouse-core/audits/accessibility/html-lang-valid.js
npm notice 1.8kB lighthouse-core/gather/gatherers/http-redirect.js
npm notice 3.4kB lighthouse-core/audits/seo/http-status-code.js
npm notice 6.6kB report/test/renderer/i18n-test.js
npm notice 26.6kB lighthouse-core/lib/i18n/i18n.js
npm notice 6.6kB report/renderer/i18n.js
npm notice 3.4kB lighthouse-core/lib/icons.js
npm notice 2.4kB lighthouse-core/gather/gatherers/iframe-elements.js
npm notice 2.4kB lighthouse-core/audits/accessibility/image-alt.js
npm notice 5.6kB lighthouse-core/audits/image-aspect-ratio.js
npm notice 13.2kB lighthouse-core/gather/gatherers/image-elements.js
npm notice 2.6kB lighthouse-core/computed/image-records.js
npm notice 12.2kB lighthouse-core/audits/image-size-responsive.js
npm notice 740B lighthouse-cli/index.js
npm notice 3.2kB lighthouse-core/index.js
npm notice 2.5kB lighthouse-core/audits/accessibility/input-image-alt.js
npm notice 2.5kB third-party/chromium-synchronization/inspector-issueAdded-types-test.js
npm notice 7.5kB lighthouse-core/audits/dobetterweb/inspector-issues.js
npm notice 5.2kB lighthouse-core/gather/gatherers/inspector-issues.js
npm notice 3.5kB third-party/chromium-synchronization/installability-errors-test.js
npm notice 1.8kB lighthouse-core/gather/gatherers/installability-errors.js
npm notice 13.0kB lighthouse-core/audits/installable-manifest.js
npm notice 1.3kB lighthouse-core/audits/accessibility/manual/interactive-element-affordance.js
npm notice 3.8kB lighthouse-core/audits/metrics/interactive.js
npm notice 7.6kB lighthouse-core/computed/metrics/interactive.js
npm notice 6.1kB lighthouse-core/audits/seo/is-crawlable.js
npm notice 6.2kB lighthouse-core/audits/is-on-https.js
npm notice 1.5kB jest.config.js
npm notice 4.3kB lighthouse-core/computed/js-bundles.js
npm notice 2.9kB lighthouse-core/audits/dobetterweb/js-libraries.js
npm notice 4.2kB lighthouse-core/gather/gatherers/js-usage.js
npm notice 2.3kB lighthouse-core/audits/accessibility/label.js
npm notice 8.7kB lighthouse-core/computed/metrics/lantern-first-contentful-paint.js
npm notice 3.0kB lighthouse-core/computed/metrics/lantern-first-meaningful-paint.js
npm notice 4.1kB lighthouse-core/computed/metrics/lantern-interactive.js
npm notice 3.9kB lighthouse-core/computed/metrics/lantern-largest-contentful-paint.js
npm notice 3.2kB lighthouse-core/computed/metrics/lantern-max-potential-fid.js
npm notice 6.7kB lighthouse-core/computed/metrics/lantern-metric.js
npm notice 6.4kB lighthouse-core/computed/metrics/lantern-speed-index.js
npm notice 4.6kB lighthouse-core/computed/metrics/lantern-total-blocking-time.js
npm notice 6.2kB lighthouse-core/lib/lantern-trace-saver.js
npm notice 7.0kB lighthouse-core/audits/large-javascript-libraries.js
npm notice 1.8kB lighthouse-core/computed/metrics/largest-contentful-paint-all-frames.js
npm notice 2.7kB lighthouse-core/audits/largest-contentful-paint-element.js
npm notice 4.5kB lighthouse-core/audits/metrics/largest-contentful-paint.js
npm notice 2.3kB lighthouse-core/computed/metrics/largest-contentful-paint.js
npm notice 2.8kB lighthouse-core/audits/layout-shift-elements.js
npm notice 20.3kB lighthouse-core/audits/byte-efficiency/legacy-javascript.js
npm notice 836B lighthouse-core/lib/lh-env.js
npm notice 17.8kB lighthouse-core/lib/lh-error.js
npm notice 1.7kB lighthouse-core/lib/lh-trace-processor.js
npm notice 2.0kB lighthouse-cli/test/smokehouse/frontends/lib.js
npm notice 1.2kB lighthouse-core/lib/large-javascript-libraries/library-suggestions.js
npm notice 1.7MB dist/lighthouse-dt-bundle.js
npm notice 10.1MB dist/lightrider/lighthouse-lr-bundle.js
npm notice 6.0kB lighthouse-core/gather/gatherers/link-elements.js
npm notice 2.4kB lighthouse-core/audits/accessibility/link-name.js
npm notice 5.0kB lighthouse-core/audits/seo/link-text.js
npm notice 895B lighthouse-cli/commands/list-audits.js
npm notice 888B lighthouse-cli/commands/list-trace-categories.js
npm notice 2.5kB lighthouse-core/audits/accessibility/list.js
npm notice 2.4kB lighthouse-core/audits/accessibility/listitem.js
npm notice 3.8kB lighthouse-core/computed/load-simulator.js
npm notice 1.4kB lighthouse-cli/test/smokehouse/lib/local-console.js
npm notice 5.8kB lighthouse-core/lib/i18n/locales.js
npm notice 1.9kB report/renderer/logger.js
npm notice 1.2kB lighthouse-core/audits/accessibility/manual/logical-tab-order.js
npm notice 5.3kB lighthouse-core/audits/long-tasks.js
npm notice 1.2kB lighthouse-core/config/lr-desktop-config.js
npm notice 1.3kB lighthouse-core/config/lr-mobile-config.js
npm notice 2.4kB lighthouse-core/gather/gatherers/main-document-content.js
npm notice 1.6kB lighthouse-core/computed/main-resource.js
npm notice 2.1kB lighthouse-core/audits/main-thread-tasks.js
npm notice 1.3kB lighthouse-core/computed/main-thread-tasks.js
npm notice 28.1kB lighthouse-core/lib/tracehouse/main-thread-tasks.js
npm notice 5.3kB lighthouse-core/audits/mainthread-work-breakdown.js
npm notice 1.2kB lighthouse-core/audits/accessibility/manual/managed-focus.js
npm notice 12.5kB lighthouse-core/lib/manifest-parser.js
npm notice 5.4kB lighthouse-core/computed/manifest-values.js
npm notice 1.2kB lighthouse-core/audits/manual/manual-audit.js
npm notice 1.4kB lighthouse-core/scripts/manual-chrome-launcher.js
npm notice 3.1kB lighthouse-core/audits/maskable-icon.js
npm notice 3.3kB lighthouse-core/audits/metrics/max-potential-fid.js
npm notice 1.9kB lighthouse-core/computed/metrics/max-potential-fid.js
npm notice 3.5kB lighthouse-core/lib/median-run.js
npm notice 3.0kB lighthouse-core/audits/seo/meta-description.js
npm notice 2.5kB lighthouse-core/gather/gatherers/meta-elements.js
npm notice 2.5kB lighthouse-core/audits/accessibility/meta-refresh.js
npm notice 2.7kB lighthouse-core/audits/accessibility/meta-viewport.js
npm notice 4.0kB lighthouse-core/computed/metrics/metric.js
npm notice 1.6kB lighthouse-core/config/metrics-to-audits.js
npm notice 2.6kB lighthouse-core/audits/metrics.js
npm notice 7.4kB lighthouse-core/lib/minification-estimator.js
npm notice 2.6kB lighthouse-core/lib/minify-devtoolslog.js
npm notice 5.9kB lighthouse-core/lib/minify-trace.js
npm notice 8.0kB lighthouse-core/audits/byte-efficiency/modern-image-formats.js
npm notice 4.7kB lighthouse-core/computed/module-duplication.js
npm notice 2.6kB lighthouse-core/audits/multi-check-audit.js
npm notice 6.3kB lighthouse-core/lib/navigation-error.js
npm notice 1.9kB lighthouse-core/computed/metrics/navigation-metric.js
npm notice 10.1kB lighthouse-core/fraggle-rock/gather/navigation-runner.js
npm notice 6.5kB lighthouse-core/gather/driver/navigation.js
npm notice 3.0kB lighthouse-core/computed/network-analysis.js
npm notice 20.1kB lighthouse-core/lib/dependency-graph/simulator/network-analyzer.js
npm notice 9.1kB lighthouse-core/gather/driver/network-monitor.js
npm notice 2.7kB lighthouse-core/lib/dependency-graph/network-node.js
npm notice 11.8kB lighthouse-core/lib/network-recorder.js
npm notice 1.1kB lighthouse-core/computed/network-records.js
npm notice 18.7kB lighthouse-core/lib/network-request.js
npm notice 4.1kB lighthouse-core/audits/network-requests.js
npm notice 3.6kB lighthouse-core/audits/network-rtt.js
npm notice 3.6kB lighthouse-core/audits/network-server-latency.js
npm notice 1.7kB lighthouse-core/gather/gatherers/network-user-agent.js
npm notice 1.4kB lighthouse-core/gather/driver/network.js
npm notice 4.5kB lighthouse-core/audits/dobetterweb/no-document-write.js
npm notice 3.7kB lighthouse-core/audits/no-unload-listeners.js
npm notice 8.4kB lighthouse-core/audits/dobetterweb/no-vulnerable-libraries.js
npm notice 817B lighthouse-cli/test/smokehouse/frontends/node.js
npm notice 8.5kB lighthouse-core/audits/non-composited-animations.js
npm notice 3.1kB lighthouse-core/audits/dobetterweb/notification-on-start.js
npm notice 2.4kB lighthouse-core/audits/accessibility/object-alt.js
npm notice 1.3kB lighthouse-core/audits/accessibility/manual/offscreen-content-hidden.js
npm notice 11.8kB lighthouse-core/audits/byte-efficiency/offscreen-images.js
npm notice 7.4kB lighthouse-core/gather/gatherers/dobetterweb/optimized-images.js
npm notice 19.1kB lighthouse-core/computed/page-dependency-graph.js
npm notice 20.3kB lighthouse-core/lib/page-functions.js
npm notice 3.0kB lighthouse-core/audits/dobetterweb/password-inputs-can-be-pasted-into.js
npm notice 1.9kB lighthouse-core/gather/gatherers/dobetterweb/password-inputs-with-prevented-paste.js
npm notice 826B lighthouse-core/config/perf-config.js
npm notice 6.7kB lighthouse-core/audits/performance-budget.js
npm notice 14.4kB report/test/renderer/performance-category-renderer-test.js
npm notice 14.4kB report/renderer/performance-category-renderer.js
npm notice 5.0kB lighthouse-core/audits/seo/plugins.js
npm notice 10.2kB dist/extension-chrome/scripts/popup-bundle.js
npm notice 10.2kB dist/extension-firefox/scripts/popup-bundle.js
npm notice 4.1kB lighthouse-core/audits/predictive-perf.js
npm notice 4.7kB lighthouse-core/audits/preload-fonts.js
npm notice 10.3kB lighthouse-core/audits/preload-lcp-image.js
npm notice 7.4kB lighthouse-core/gather/driver/prepare.js
npm notice 2.6kB lighthouse-cli/printer.js
npm notice 1.1kB lighthouse-core/computed/processed-navigation.js
npm notice 1.0kB lighthouse-core/computed/processed-trace.js
npm notice 4.5kB lighthouse-core/lib/proto-preprocessor.js
npm notice 7.1kB report/test/renderer/psi-test.js
npm notice 6.3kB report/renderer/psi.js
npm notice 12.8kB report/test/renderer/pwa-category-renderer-test.js
npm notice 6.9kB report/renderer/pwa-category-renderer.js
npm notice 1.8kB lighthouse-core/audits/manual/pwa-cross-browser.js
npm notice 1.9kB lighthouse-core/audits/manual/pwa-each-page-has-url.js
npm notice 2.0kB lighthouse-core/audits/manual/pwa-page-transitions.js
npm notice 6.5kB lighthouse-core/lib/traces/pwmetrics-events.js
npm notice 1.6kB lighthouse-core/gather/connections/raw.js
npm notice 6.3kB lighthouse-core/lib/rect-helpers.js
npm notice 2.6kB lighthouse-core/audits/redirects-http.js
npm notice 7.4kB lighthouse-core/audits/redirects.js
npm notice 13.4kB lighthouse-core/audits/byte-efficiency/render-blocking-resources.js
npm notice 13.1kB lighthouse-cli/test/smokehouse/report-assert.js
npm notice 1.2kB report/report-assets.js
npm notice 287.5kB dist/lightrider/report-generator-bundle.js
npm notice 6.2kB report/test/report-generator-test.js
npm notice 8.1kB dist/dt-report-resources/report-generator.js
npm notice 5.1kB report/report-generator.js
npm notice 14.0kB report/test/renderer/report-renderer-test.js
npm notice 11.0kB report/renderer/report-renderer.js
npm notice 21.6kB report/test/renderer/report-ui-features-test.js
npm notice 31.8kB report/renderer/report-ui-features.js
npm notice 186.2kB dist/dt-report-resources/report.js
npm notice 4.6kB lighthouse-core/audits/resource-summary.js
npm notice 5.0kB lighthouse-core/computed/resource-summary.js
npm notice 5.5kB lighthouse-core/gather/gatherers/dobetterweb/response-compression.js
npm notice 8.9kB lighthouse-core/audits/seo/robots-txt.js
npm notice 2.2kB lighthouse-core/gather/gatherers/seo/robots-txt.js
npm notice 655B root.js
npm notice 9.5kB lighthouse-cli/run.js
npm notice 5.4kB lighthouse-core/fraggle-rock/gather/runner-helpers.js
npm notice 19.4kB lighthouse-core/runner.js
npm notice 3.4kB lighthouse-core/scoring.js
npm notice 5.9kB lighthouse-core/audits/screenshot-thumbnails.js
npm notice 1.2kB lighthouse-core/computed/screenshots.js
npm notice 5.8kB lighthouse-core/gather/gatherers/script-elements.js
npm notice 9.8kB lighthouse-core/audits/script-treemap-data.js
npm notice 4.7kB lighthouse-core/lib/cdt/SDK.js
npm notice 2.7kB lighthouse-cli/sentry-prompt.js
npm notice 5.0kB lighthouse-core/lib/sentry.js
npm notice 5.0kB lighthouse-core/audits/server-response-time.js
npm notice 7.5kB lighthouse-core/audits/service-worker.js
npm notice 1.7kB lighthouse-core/gather/gatherers/service-worker.js
npm notice 2.3kB lighthouse-core/gather/driver/service-workers.js
npm notice 3.4kB lighthouse-core/fraggle-rock/gather/session.js
npm notice 6.9kB lighthouse-core/lib/dependency-graph/simulator/simulator-timing-map.js
npm notice 18.6kB lighthouse-core/lib/dependency-graph/simulator/simulator.js
npm notice 7.5kB lighthouse-cli/test/smokehouse/frontends/smokehouse-bin.js
npm notice 269.4kB dist/smokehouse-bundle.js
npm notice 8.8kB lighthouse-cli/test/smokehouse/smokehouse.js
npm notice 2.1kB lighthouse-core/fraggle-rock/gather/snapshot-runner.js
npm notice 9.4kB report/test/renderer/snippet-renderer-test.js
npm notice 12.5kB report/renderer/snippet-renderer.js
npm notice 4.7kB lighthouse-core/gather/gatherers/source-maps.js
npm notice 17.0kB lighthouse-core/lib/cdt/generated/SourceMap.js
npm notice 3.6kB lighthouse-core/audits/metrics/speed-index.js
npm notice 1.8kB lighthouse-core/computed/metrics/speed-index.js
npm notice 2.2kB lighthouse-core/computed/speedline.js
npm notice 3.8kB lighthouse-core/audits/splash-screen.js
npm notice 3.4kB lighthouse-core/lib/stack-packs.js
npm notice 4.6kB lighthouse-core/gather/gatherers/stacks.js
npm notice 186.2kB dist/report/standalone.js
npm notice 1.9kB report/clients/standalone.js
npm notice 4.9kB lighthouse-core/lib/statistics.js
npm notice 4.4kB lighthouse-core/gather/driver/storage.js
npm notice 2.2kB lighthouse-core/audits/seo/manual/structured-data.js
npm notice 4.1kB lighthouse-core/lib/i18n/swap-locale.js
npm notice 2.5kB lighthouse-core/audits/accessibility/tabindex.js
npm notice 9.4kB lighthouse-core/gather/gatherers/dobetterweb/tags-blocking-first-paint.js
npm notice 13.6kB lighthouse-core/audits/seo/tap-targets.js
npm notice 11.9kB lighthouse-core/gather/gatherers/seo/tap-targets.js
npm notice 4.0kB lighthouse-core/lib/tappable-rects.js
npm notice 3.6kB lighthouse-core/lib/tracehouse/task-groups.js
npm notice 6.3kB lighthouse-core/lib/dependency-graph/simulator/tcp-connection.js
npm notice 2.8kB lighthouse-core/audits/accessibility/td-headers-attr.js
npm notice 1.6kB report/test/renderer/text-encoding-test.js
npm notice 2.8kB report/renderer/text-encoding.js
npm notice 2.6kB lighthouse-core/audits/accessibility/th-has-data-cells.js
npm notice 4.5kB lighthouse-core/audits/themed-omnibox.js
npm notice 11.1kB lighthouse-core/audits/third-party-facades.js
npm notice 11.5kB lighthouse-core/audits/third-party-summary.js
npm notice 1.7kB lighthouse-core/lib/third-party-web.js
npm notice 2.8kB lighthouse-core/fraggle-rock/gather/timespan-runner.js
npm notice 7.3kB lighthouse-core/audits/timing-budget.js
npm notice 9.2kB lighthouse-core/computed/metrics/timing-summary.js
npm notice 3.3kB lighthouse-core/lib/timing-trace-saver.js
npm notice 5.0kB lighthouse-core/audits/metrics/total-blocking-time.js
npm notice 5.3kB lighthouse-core/computed/metrics/total-blocking-time.js
npm notice 4.8kB lighthouse-core/audits/byte-efficiency/total-byte-weight.js
npm notice 1.5kB lighthouse-core/gather/gatherers/trace-compat.js
npm notice 12.4kB lighthouse-core/gather/gatherers/trace-elements.js
npm notice 1.6kB lighthouse-core/computed/trace-of-tab.js
npm notice 37.5kB lighthouse-core/lib/tracehouse/trace-processor.js
npm notice 4.7kB lighthouse-core/gather/gatherers/trace.js
npm notice 1.5kB lighthouse-core/lib/type-verifiers.js
npm notice 4.8kB lighthouse-core/audits/byte-efficiency/unminified-css.js
npm notice 5.2kB lighthouse-core/audits/byte-efficiency/unminified-javascript.js
npm notice 7.6kB lighthouse-core/audits/unsized-images.js
npm notice 3.4kB lighthouse-core/audits/byte-efficiency/unused-css-rules.js
npm notice 6.5kB lighthouse-core/computed/unused-css.js
npm notice 5.5kB lighthouse-core/computed/unused-javascript-summary.js
npm notice 6.5kB lighthouse-core/audits/byte-efficiency/unused-javascript.js
npm notice 7.8kB lighthouse-core/lib/url-shim.js
npm notice 1.3kB lighthouse-core/audits/accessibility/manual/use-landmarks.js
npm notice 5.1kB lighthouse-core/audits/user-timings.js
npm notice 3.5kB lighthouse-core/computed/user-timings.js
npm notice 10.3kB lighthouse-core/audits/dobetterweb/uses-http2.js
npm notice 11.9kB lighthouse-core/audits/byte-efficiency/uses-long-cache-ttl.js
npm notice 5.9kB lighthouse-core/audits/byte-efficiency/uses-optimized-images.js
npm notice 3.1kB lighthouse-core/audits/dobetterweb/uses-passive-event-listeners.js
npm notice 11.6kB lighthouse-core/audits/uses-rel-preconnect.js
npm notice 12.2kB lighthouse-core/audits/uses-rel-preload.js
npm notice 3.8kB lighthouse-core/audits/byte-efficiency/uses-responsive-images-snapshot.js
npm notice 8.0kB lighthouse-core/audits/byte-efficiency/uses-responsive-images.js
npm notice 4.0kB lighthouse-core/audits/byte-efficiency/uses-text-compression.js
npm notice 16.5kB report/test/renderer/util-test.js
npm notice 29.3kB report/renderer/util.js
npm notice 3.9kB third-party/download-content-shell/utils.js
npm notice 2.4kB lighthouse-core/audits/accessibility/valid-lang.js
npm notice 6.9kB lighthouse-core/audits/valid-source-maps.js
npm notice 3.7kB lighthouse-core/fraggle-rock/config/validation.js
npm notice 2.5kB lighthouse-core/audits/accessibility/video-caption.js
npm notice 2.1kB lighthouse-core/gather/gatherers/viewport-dimensions.js
npm notice 2.2kB lighthouse-core/computed/viewport-meta.js
npm notice 2.9kB lighthouse-core/audits/viewport.js
npm notice 1.8kB lighthouse-core/audits/violation-audit.js
npm notice 1.3kB lighthouse-core/audits/accessibility/manual/visual-order-follows-dom.js
npm notice 17.8kB lighthouse-core/gather/driver/wait-for-condition.js
npm notice 4.0kB lighthouse-core/gather/gatherers/web-app-manifest.js
npm notice 271.5kB lighthouse-core/lib/i18n/locales/ar-XB.json
npm notice 205.4kB lighthouse-core/lib/i18n/locales/ar.json
npm notice 223.6kB lighthouse-core/lib/i18n/locales/bg.json
npm notice 1.1kB lighthouse-core/lib/large-javascript-libraries/bundlephobia-database.json
npm notice 169.5kB lighthouse-core/lib/i18n/locales/ca.json
npm notice 167.8kB lighthouse-core/lib/i18n/locales/cs.json
npm notice 162.8kB lighthouse-core/lib/i18n/locales/da.json
npm notice 170.4kB lighthouse-core/lib/i18n/locales/de.json
npm notice 376.5kB dist/gh-pages/treemap/debug.json
npm notice 235.8kB lighthouse-core/lib/i18n/locales/el.json
npm notice 152.0kB lighthouse-core/lib/i18n/locales/en-GB.json
npm notice 152.5kB lighthouse-core/lib/i18n/locales/en-US.json
npm notice 265.4kB lighthouse-core/lib/i18n/locales/en-XA.json
npm notice 248.6kB lighthouse-core/lib/i18n/locales/en-XL.json
npm notice 171.0kB lighthouse-core/lib/i18n/locales/es-419.json
npm notice 169.3kB lighthouse-core/lib/i18n/locales/es.json
npm notice 161.0kB lighthouse-core/lib/i18n/locales/fi.json
npm notice 167.4kB lighthouse-core/lib/i18n/locales/fil.json
npm notice 173.9kB lighthouse-core/lib/i18n/locales/fr.json
npm notice 189.7kB lighthouse-core/lib/i18n/locales/he.json
npm notice 266.0kB lighthouse-core/lib/i18n/locales/hi.json
npm notice 162.8kB lighthouse-core/lib/i18n/locales/hr.json
npm notice 173.8kB lighthouse-core/lib/i18n/locales/hu.json
npm notice 159.6kB lighthouse-core/lib/i18n/locales/id.json
npm notice 168.9kB lighthouse-core/lib/i18n/locales/it.json
npm notice 184.2kB lighthouse-core/lib/i18n/locales/ja.json
npm notice 170.2kB lighthouse-core/lib/i18n/locales/ko.json
npm notice 171.4kB lighthouse-core/lib/i18n/locales/lt.json
npm notice 167.0kB lighthouse-core/lib/i18n/locales/lv.json
npm notice 572B dist/extension-chrome/manifest.json
npm notice 572B dist/extension-firefox/manifest.json
npm notice 516B dist/gh-pages/viewer/manifest.json
npm notice 163.1kB lighthouse-core/lib/i18n/locales/nl.json
npm notice 159.6kB lighthouse-core/lib/i18n/locales/no.json
npm notice 216B now.json
npm notice 11.2kB package.json
npm notice 169.3kB lighthouse-core/lib/i18n/locales/pl.json
npm notice 10.0kB lighthouse-core/audits/byte-efficiency/polyfill-graph-data.json
npm notice 166.2kB lighthouse-core/lib/i18n/locales/pt-PT.json
npm notice 163.1kB lighthouse-core/lib/i18n/locales/pt.json
npm notice 166.8kB lighthouse-core/lib/i18n/locales/ro.json
npm notice 220.0kB lighthouse-core/lib/i18n/locales/ru.json
npm notice 167.8kB lighthouse-core/lib/i18n/locales/sk.json
npm notice 165.1kB lighthouse-core/lib/i18n/locales/sl.json
npm notice 12.7kB third-party/snyk/snapshot.json
npm notice 164.6kB lighthouse-core/lib/i18n/locales/sr-Latn.json
npm notice 216.1kB lighthouse-core/lib/i18n/locales/sr.json
npm notice 159.5kB lighthouse-core/lib/i18n/locales/sv.json
npm notice 288.0kB lighthouse-core/lib/i18n/locales/ta.json
npm notice 277.5kB lighthouse-core/lib/i18n/locales/te.json
npm notice 250.9kB lighthouse-core/lib/i18n/locales/th.json
npm notice 167.7kB lighthouse-core/lib/i18n/locales/tr.json
npm notice 5.4kB tsconfig.json
npm notice 216.2kB lighthouse-core/lib/i18n/locales/uk.json
npm notice 183.8kB lighthouse-core/lib/i18n/locales/vi.json
npm notice 148.8kB lighthouse-core/lib/i18n/locales/zh-HK.json
npm notice 151.0kB lighthouse-core/lib/i18n/locales/zh-TW.json
npm notice 149.8kB lighthouse-core/lib/i18n/locales/zh.json
npm notice 375.5kB changelog.md
npm notice 4.5kB CODE_OF_CONDUCT.md
npm notice 11.1kB CONTRIBUTING.md
npm notice 8.6kB lighthouse-cli/test/smokehouse/readme.md
npm notice 13.0kB lighthouse-core/lib/i18n/README.md
npm notice 34.4kB readme.md
npm notice 4.3kB report/README.md
npm notice 278B third-party/download-content-shell/README.md
npm notice 581B dist/extension-chrome/images/lh_favicon_16x16.png
npm notice 581B dist/extension-firefox/images/lh_favicon_16x16.png
npm notice 1.2kB dist/gh-pages/viewer/images/lh_favicon_32px.png
npm notice 1.2kB dist/extension-chrome/images/lh_favicon_32x32.png
npm notice 1.2kB dist/extension-firefox/images/lh_favicon_32x32.png
npm notice 3.6kB dist/gh-pages/viewer/images/lh_favicon_76px.png
npm notice 10.5kB dist/extension-chrome/images/lh_logo_128x128.png
npm notice 10.5kB dist/extension-firefox/images/lh_logo_128x128.png
npm notice 78.2kB dist/gh-pages/viewer/images/lighthouse-logo_512px.png
npm notice 1.0kB lighthouse-core/scripts/download-chrome.sh
npm notice 11.9kB dist/extension-chrome/images/lh_logo.svg
npm notice 11.9kB dist/extension-firefox/images/lh_logo.svg
npm notice 12.5kB dist/gh-pages/treemap/images/lighthouse-logo.svg
npm notice 12.5kB dist/gh-pages/viewer/images/lighthouse-logo.svg
npm notice 38.7kB types/artifacts.d.ts
npm notice 10.6kB types/audit-details.d.ts
npm notice 9.1kB types/audit.d.ts
npm notice 3.0kB types/budget.d.ts
npm notice 9.7kB types/config.d.ts
npm notice 984B types/enquirer.d.ts
npm notice 17.3kB types/externs.d.ts
npm notice 8.0kB types/gatherer.d.ts
npm notice 4.4kB types/html-renderer.d.ts
npm notice 3.8kB types/i18n.d.ts
npm notice 1.4kB types/bundle-phobia-cli/index.d.ts
npm notice 930B types/cssstyle/index.d.ts
npm notice 1.0kB types/http-link-header/index.d.ts
npm notice 917B types/jsonld/index.d.ts
npm notice 1.7kB types/lighthouse-logger/index.d.ts
npm notice 804B types/lookup-closest-locale/index.d.ts
npm notice 867B types/metaviewport-parser/index.d.ts
npm notice 1.0kB types/parse-cache-control/index.d.ts
npm notice 1.0kB types/pretty-json-stringify/index.d.ts
npm notice 1.1kB types/robots-parser/index.d.ts
npm notice 1.4kB types/jest.d.ts
npm notice 644B types/jsonlint-mod.d.ts
npm notice 5.4kB types/lhr.d.ts
npm notice 113B types/node-fetch.d.ts
npm notice 710B types/node.d.ts
npm notice 3.1kB types/protocol.d.ts
npm notice 9B dist/dt-report-resources/report-generator.d.ts
npm notice 9B dist/dt-report-resources/report.d.ts
npm notice 2.3kB types/smokehouse.d.ts
npm notice 1.6kB types/structured-data.d.ts
npm notice 1.8kB types/treemap.d.ts
npm notice 493B .codecov.yml
npm notice 23.9kB dist/extension-chrome-package/lighthouse-100.0.0.2.zip
npm notice 23.9kB dist/extension-firefox-package/lighthouse-100.0.0.2.zip
ignore report
, flow-report
too ?
Example, tests are >20% of the package. Can we remove that?
Proto too. npmpkg.txt