lighthouse

v2.0.0-alpha.3
Lighthouse
google chrome devtools

fast

yarn start -- --disable-device-emulation --disable-cpu-throttling --disable-network-throttling

lint

[ "$CI" = true ] && eslint --quiet -f codeframe . || eslint .

test

yarn lint --silent && gulp && yarn unit && yarn closure

unit

bash lighthouse-core/scripts/run-mocha.sh --default

clean

rimraf *.report.html *.report.dom.html *.report.json *.screenshots.html *.devtoolslog.json *.trace.json || true

smoke

bash lighthouse-cli/test/smokehouse/offline-local/run-tests.sh && bash lighthouse-cli/test/smokehouse/perf/run-tests.sh && bash lighthouse-cli/test/smokehouse/dobetterweb/run-tests.sh && bash lighthouse-cli/test/smokehouse/byte-efficiency/run-tests.sh

start

gulp && node ./lighthouse-cli/index.js

watch

bash lighthouse-core/scripts/run-mocha.sh --watch

chrome

node ./lighthouse-cli/manual-chrome-launcher.js

closure

cd lighthouse-core && node closure/closure-type-checking.js

cli-unit

yarn unit-cli

coverage

node $(yarn bin)/istanbul cover -x "**/third_party/**" _mocha -- $(find */test -name '*-test.js') --timeout 10000 --reporter progress

devtools

bash lighthouse-core/scripts/roll-to-devtools.sh

unit-cli

bash lighthouse-core/scripts/run-mocha.sh --cli

build-all

gulp && yarn build-cli && yarn build-extension && yarn build-viewer

build-cli

cd ./lighthouse-cli && yarn build

core-unit

yarn unit-core

coveralls

yarn coverage && cat ./coverage/lcov.info | coveralls

unit-core

bash lighthouse-core/scripts/run-mocha.sh --core

smokehouse

node lighthouse-cli/test/smokehouse/smokehouse.js

install-all

yarn install-cli && yarn install-extension && yarn install-viewer

install-cli

cd ./lighthouse-cli && yarn install && yarn build

unit-viewer

bash lighthouse-core/scripts/run-mocha.sh --viewer

viewer-unit

yarn unit-viewer

build-viewer

cd ./lighthouse-viewer && yarn build

deploy-viewer

cd lighthouse-viewer && gulp deploy

install-viewer

cd ./lighthouse-viewer && yarn install

build-extension

cd ./lighthouse-extension && yarn build

compile-devtools

bash lighthouse-core/scripts/compile-against-devtools.sh

install-extension

cd ./lighthouse-extension && yarn install

Metadata

Downloads