lighthouse
v1.0.6 google chrome devtools
//
// passing through tasks to core
lint
eslint .
test
npm run lint --silent && npm run unit && npm run closure
unit
npm run cli-unit
smoke
lighthouse-cli/scripts/run-smoke-tests.sh
start
node ./lighthouse-cli/index.js
watch
find lighthouse-core lighthouse-cli -name '*.js' -not -path '*/node_modules/*' -not -path '*/extension/*' | entr npm run unit
chrome
lighthouse-core/scripts/launch-chrome.sh
closure
cd lighthouse-core && closure/closure-type-checking.js
cli-unit
mocha $(echo $__node_harmony) $(find lighthouse-cli/test lighthouse-core/test -name '*.js') --timeout 60000
coverage
node $(echo $__node_harmony) $(npm bin)/istanbul cover -x "**/third_party/**" _mocha -- $(find */test -name '*.js') --timeout 60000
coveralls
npm run coverage && cat ./coverage/lcov.info | coveralls
npm i [email protected]
Metadata
- Apache-2.0
- >=5
- The Chromium Authors
- released 7/28/2016