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",
|
"homepage": "https://github.com/googlechrome/big-rig#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cheerio": "^0.19.0",
|
"cheerio": "^0.19.0",
|
||||||
|
"chrome-remote-interface": "^0.11.0",
|
||||||
"file": "^0.2.2",
|
"file": "^0.2.2",
|
||||||
"traceviewer": "^1.0.8",
|
"traceviewer": "^1.0.8",
|
||||||
"walk": "^2.3.9"
|
"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.
|
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
|
```sh
|
||||||
# Start Chrome with a few flags
|
# 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
|
# Kick off a lighthouse run
|
||||||
node .
|
node .
|
||||||
```
|
```
|
||||||
|
|
Загрузка…
Ссылка в новой задаче