Merge pull request #13 from feross/lock-electron
Lock the electron version
This commit is contained in:
10
package.json
10
package.json
@@ -26,15 +26,9 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"electron-packager": "^5.0.0",
|
"electron-packager": "^5.0.0",
|
||||||
"electron-prebuilt": "^0.36.0",
|
"electron-prebuilt": "0.36.9",
|
||||||
"standard": "^6.0.5"
|
"standard": "^6.0.5"
|
||||||
},
|
},
|
||||||
"electronVersion": "0.36.0",
|
|
||||||
"files": [
|
|
||||||
"index.js",
|
|
||||||
"index.html",
|
|
||||||
"index.css"
|
|
||||||
],
|
|
||||||
"homepage": "https://webtorrent.io",
|
"homepage": "https://webtorrent.io",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"electron",
|
"electron",
|
||||||
@@ -48,7 +42,7 @@
|
|||||||
"url": "git://github.com/feross/webtorrent-app.git"
|
"url": "git://github.com/feross/webtorrent-app.git"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "electron-packager . $npm_package_productName --out=dist --ignore='^/dist$' --prune --asar --all --version=$npm_package_electronVersion",
|
"build": "electron-packager . $npm_package_productName --out=dist --ignore='^/dist$' --prune --asar --all --version=$npm_package_devDependencies_electron_prebuilt",
|
||||||
"debug": "DEBUG=* electron .",
|
"debug": "DEBUG=* electron .",
|
||||||
"start": "electron .",
|
"start": "electron .",
|
||||||
"test": "standard"
|
"test": "standard"
|
||||||
|
|||||||
Reference in New Issue
Block a user