ff-stream-web

git clone git://archive.git.mtrnord.blog/MTRNord/ff-stream-web.git
Log | Files | Refs | README | LICENSE

commit 81be200c9c27bc8f452b13ff95d16f2d29c5def0
parent d4f84ca4b05cba7335adfa3bdfebf31c5ab0a764
Author: Konstantin Tarkus <hello@tarkus.me>
Date:   Tue, 27 Jan 2015 18:31:37 +0300

Bump `psi` npm module

Diffstat:
Mgulpfile.js | 18+++++++++---------
Mpackage.json | 2+-
2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/gulpfile.js b/gulpfile.js @@ -257,12 +257,12 @@ gulp.task('deploy', function() { }); // Run PageSpeed Insights -// Update `url` below to the public URL for your site -gulp.task('pagespeed', pagespeed.bind(null, { - // By default, we use the PageSpeed Insights - // free (no API key) tier. You can use a Google - // Developer API key if you have one. See - // http://goo.gl/RkN0vE for info key: 'YOUR_API_KEY' - url: 'https://example.com', - strategy: 'mobile' -})); +gulp.task('pagespeed', function(cb) { + // Update the below URL to the public URL of your site + pagespeed.output('example.com', { + strategy: 'mobile' + // By default we use the PageSpeed Insights free (no API key) tier. + // Use a Google Developer API key if you have one: http://goo.gl/RkN0vE + // key: 'YOUR_API_KEY' + }, cb); +}); diff --git a/package.json b/package.json @@ -47,7 +47,7 @@ "merge-stream": "^0.1.7", "minimist": "^1.1.0", "protractor": "^1.6.0", - "psi": "^1.0.1", + "psi": "^1.0.4", "react-tools": "^0.12.2", "run-sequence": "^1.0.2", "style-loader": "^0.8.2",