make readme example run
add missing dep and typo in CLI example
This commit is contained in:
Родитель
2b49e353ff
Коммит
709ee589f0
|
@ -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 .
|
||||
```
|
||||
|
|
Загрузка…
Ссылка в новой задаче