Skip to content

Commit

Permalink
bump dependencies, require node 4, remove home-path dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
develar committed Nov 18, 2016
1 parent 7f014df commit 54ee338
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ os:
osx_image: xcode7.3
language: node_js
node_js:
- '0.10'
- '0.12'
- '4'
- '5'
- '6'
- '7'
cache:
- directories:
- "$HOME/.npm"
Expand Down
3 changes: 1 addition & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

const debug = require('debug')('electron-download')
const fs = require('fs-extra')
const homePath = require('home-path')
const npmrc = require('rc')('npm')
const nugget = require('nugget')
const os = require('os')
Expand Down Expand Up @@ -37,7 +36,7 @@ class ElectronDownloader {
}

get cache () {
return this.opts.cache || path.join(homePath(), './.electron')
return this.opts.cache || path.join(os.homedir(), './.electron')
}

get cachedChecksum () {
Expand Down
34 changes: 18 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,24 @@
},
"homepage": "https://github.com/electron-userland/electron-download#readme",
"dependencies": {
"debug": "^2.2.0",
"fs-extra": "^0.30.0",
"home-path": "^1.0.1",
"debug": "^2.3.2",
"fs-extra": "^1.0.0",
"minimist": "^1.2.0",
"nugget": "^2.0.0",
"path-exists": "^2.1.0",
"rc": "^1.1.2",
"nugget": "^2.0.1",
"path-exists": "^3.0.0",
"rc": "^1.1.6",
"semver": "^5.3.0",
"sumchecker": "^1.2.0"
},
"devDependencies": {
"babel-cli": "^6.14.0",
"babel-preset-es2015": "^6.14.0",
"babel-register": "^6.14.0",
"eslint": "^3.2.0",
"eslint-config-standard": "^5.2.0",
"eslint-plugin-promise": "^2.0.0",
"eslint-plugin-standard": "^2.0.0",
"tape": "^4.6.0"
"babel-cli": "^6.18.0",
"babel-preset-es2015-node4": "^2.1.0",
"babel-register": "^6.18.0",
"eslint": "^3.10.2",
"eslint-config-standard": "^6.2.1",
"eslint-plugin-promise": "^3.4.0",
"eslint-plugin-standard": "^2.0.1",
"tape": "^4.6.2"
},
"eslintConfig": {
"extends": "standard",
Expand All @@ -56,8 +55,11 @@
},
"babel": {
"presets": [
"es2015"
"es2015-node4"
]
},
"keywords": []
"keywords": [],
"engines": {
"node": ">= 4.0"
}
}

0 comments on commit 54ee338

Please sign in to comment.