Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme #126

Merged
merged 2 commits into from
Jun 29, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update readme to show lighthouse flag support
  • Loading branch information
young authored Jun 29, 2017

Verified

This commit was signed with the committer’s verified signature.
tenderlove Aaron Patterson
commit a70805cc50c70e04391621eaa51a42899026693f
8 changes: 6 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -115,7 +115,8 @@ module.exports = {
upload: true, // turn on uploading to Google Drive
view: true, // open uploaded traces to Google Drive in DevTools
expectations: true // turn on assertation metrics results against provides values
chromeFlags: [] // custom flags to pass to Chrome. For a full list of flags, see http://peter.sh/experiments/chromium-command-line-switches/.
chromeFlags: [] // custom flags to pass to Chrome. For a full list of flags, see http://peter.sh/experiments/chromium-command-line-switches/.
// Note: pwmetrics supports all flags from Lighthouse
},
expectations: {
// these expectations values are examples, for your cases set your own
@@ -335,7 +336,7 @@ pwMetrics.start(); // returns Promise
</thead>
<tbody>
<tr>
<td style="text-align: center;">flags</td>
<td style="text-align: center;">flags<sup><b>*</b></sup></td>
<td style="text-align: center;">Object</td>
<td>
<pre>
@@ -376,6 +377,9 @@ pwMetrics.start(); // returns Promise
</tbody>
</table>

<sup>*</sup>pwmetrics supports all flags from Lighthouse. See [here](https://github.com/GoogleChrome/lighthouse/#cli-options) for the complete list.


### Recipes

- [gulp](/recipes/gulp/gulpfile.js)