Remove nodeIntegration Warning by Setting Default to False (#37)

* Remove nodeIntegration Warning by Setting Default to False
diff --git a/bin/templates/project/cdv-electron-main.js b/bin/templates/project/cdv-electron-main.js
index 9312ece..ae4945b 100644
--- a/bin/templates/project/cdv-electron-main.js
+++ b/bin/templates/project/cdv-electron-main.js
@@ -41,7 +41,8 @@
     mainWindow = new BrowserWindow({
         width: 800,
         height: 600,
-        icon: appIcon
+        icon: appIcon,
+        webPreferences: cdvElectronSettings.webPreferences
     });
 
     // and load the index.html of the app.
diff --git a/bin/templates/project/cdv-electron-settings.json b/bin/templates/project/cdv-electron-settings.json
index cd5b813..ac65b67 100644
--- a/bin/templates/project/cdv-electron-settings.json
+++ b/bin/templates/project/cdv-electron-settings.json
@@ -1,3 +1,6 @@
 {
-    "isRelease": false
+    "isRelease": false,
+    "webPreferences": {
+        "nodeIntegration": false
+    }
 }
\ No newline at end of file