diff --git a/package.json b/package.json index 218ae673f5..0ae0ee9f0c 100644 --- a/package.json +++ b/package.json @@ -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" diff --git a/readme.md b/readme.md index cc98a0a34d..dd98ae4c84 100644 --- a/readme.md +++ b/readme.md @@ -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 . ```