Skip to content

Commit

Permalink
Small fixes (#1)
Browse files Browse the repository at this point in the history
* Update package.json

* add fixes
  • Loading branch information
denar90 authored Sep 17, 2016
1 parent 64cd05d commit 5f3e385
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@ sudo: false
language: node_js
node_js:
- '5'
- '4'
- '0.12'
- '0.10'
- '4'
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const runPSIWithStrategy = function() {

const runPSI = function(options) {
return Promise.all(config.pages.map(page => {
return psi(url.resolve(config.url, page), options).then((data) => {
return psi.output(url.resolve(config.url, page), options).then((data) => {
config.onSuccess(data);
}).catch(err => {
config.onError(err.message);
Expand Down
15 changes: 15 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,22 @@
"test": "ava"
},
"author": "denar90",
"repository": "denar90/psi-ngrok",
"license": "MIT",
"files": [
"index.js"
],
"keywords": [
"pagespeed",
"insights",
"speed",
"page",
"website",
"measure",
"optimize",
"size",
"localhost"
],
"dependencies": {
"bluebird": "^3.4.6",
"ngrok": "^2.2.2",
Expand Down

0 comments on commit 5f3e385

Please sign in to comment.