From b5147382835fa9097daefe157f21281b1fbaf47a Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Mon, 30 May 2016 14:11:09 -0500 Subject: [PATCH] Move deb rhel electron to optionalDependencies grunt-electron-installer modules for debian and redhat will not install on windows unless we move them to optional. Grunt file will error on those platforms if the modules fail to install for some other reason. --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 94ec6f1f5a..56e7ac43ec 100644 --- a/package.json +++ b/package.json @@ -71,8 +71,6 @@ "grunt-download-electron": "^2.1.1", "grunt-electron": "^2.0.0", "grunt-electron-installer": "^1.0.4", - "grunt-electron-installer-debian": "^0.3.0", - "grunt-electron-installer-redhat": "^0.3.0", "grunt-electron-packager": "0.0.7", "grunt-if-missing": "^1.0.0", "grunt-newer": "^1.1.1", @@ -89,5 +87,9 @@ "run-sequence": "^1.0.2", "shell-escape": "^0.2.0", "source-map-support": "^0.3.2" + }, + "optionalDependencies": { + "grunt-electron-installer-debian": "^0.3.0", + "grunt-electron-installer-redhat": "^0.3.0" } }