Skip to content

TagSpaces is an offline, open source, document manager with tagging support

babel preset 2015 added, updated electron debug lib

Ilian Sapundshiev0cab9850bfea
diff --git a/app/main.dev.js b/app/main.dev.js
index 143e3173e..80f47b27f 100644
--- a/app/main.dev.js
+++ b/app/main.dev.js
@@ -57,7 +57,7 @@ process.argv.forEach((arg, count) => {
});
if (process.env.NODE_ENV === 'development' || process.env.DEBUG_PROD === 'true') {
- require('electron-debug')();
+ require('electron-debug')({ showDevTools: false });
const p = path.join(__dirname, '..', 'app', 'node_modules');
require('module').globalPaths.push(p);
}
@@ -137,7 +137,7 @@ app.on('ready', async () => {
throw new Error('"mainWindow" is not defined');
}
mainWindow.show();
- global.splashWorkerWindow.hide(); // Comment for easy dubugging of the worker
+ // global.splashWorkerWindow.hide(); // Comment for easy dubugging of the worker
mainWindow.focus();
});
diff --git a/package.json b/package.json
index 1b8829479..fbf215f5e 100644
--- a/package.json
+++ b/package.json
@@ -103,6 +103,7 @@
"babel-plugin-transform-es2015-classes": "^6.24.1",
"babel-polyfill": "^6.23.0",
"babel-preset-env": "^1.5.1",
+ "babel-preset-es2015": "^6.24.1",
"babel-preset-minify": "^0.2.0",
"babel-preset-react": "^6.24.1",
"babel-preset-react-hmre": "^1.1.1",
@@ -175,7 +176,7 @@
"chokidar": "^2.0.3",
"classnames": "^2.2.5",
"date-fns": "^1.29.0",
- "electron-debug": "^1.5.0",
+ "electron-debug": "^2.0.0",
"electron-window-state": "^4.1.1",
"exif-js": "^2.3.0",
"file-saver": "^1.3.3",