cda13e5e79
This is a breaking change, as it causes the `electron` module to require Node 4.x (which has been EOL'd anyway). Upgrading adds features such as a customizable cache location (via the `ELECTRON_CACHE` environment variable). Originally merged in https://github.com/electron/electron/pull/10922 but was reverted because it was going into a version of Electron that did not allow breaking changes.
29 lines
580 B
JSON
29 lines
580 B
JSON
{
|
|
"scripts": {
|
|
"cache-clean": "rm -rf ~/.electron && rm -rf dist",
|
|
"postinstall": "node install.js",
|
|
"pretest": "npm run cache-clean",
|
|
"test": "standard"
|
|
},
|
|
"bin": {
|
|
"electron": "cli.js"
|
|
},
|
|
"main": "index.js",
|
|
"types": "electron.d.ts",
|
|
"dependencies": {
|
|
"@types/node": "^8.0.24",
|
|
"electron-download": "^4.1.0",
|
|
"extract-zip": "^1.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"home-path": "^0.1.1",
|
|
"path-exists": "^2.0.0",
|
|
"standard": "^5.4.1"
|
|
},
|
|
"directories": {
|
|
"test": "test"
|
|
},
|
|
"engines": {
|
|
"node": ">= 4.0"
|
|
}
|
|
}
|