add missing dep and typo in CLI example
This commit is contained in:
Brendan Kenny 2016-03-11 15:52:23 -08:00
Родитель 2b49e353ff
Коммит 709ee589f0
2 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -23,6 +23,7 @@
"homepage": "https://github.com/googlechrome/big-rig#readme",
"dependencies": {
"cheerio": "^0.19.0",
"chrome-remote-interface": "^0.11.0",
"file": "^0.2.2",
"traceviewer": "^1.0.8",
"walk": "^2.3.9"

Просмотреть файл

@ -7,7 +7,7 @@ _status: very early. mostly not working_
Will run the audits defined in the `audits/` folder against a demo app. Chrome protocol connection maintained via [chrome-remote-interface](https://github.com/cyrus-and/chrome-remote-interface). Start Chrome manually; we can pursue [auto-launching](https://www.npmjs.com/package/chrome-launch) it later.
```sh
# Start Chrome with a few flags
/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 --no-first-run --user-data-dir="/tmp/lighthouse-profile" "about:blank"
/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary --remote-debugging-port=9222 --no-first-run --user-data-dir="/tmp/lighthouse-profile" "about:blank"
# Kick off a lighthouse run
node .
```