config: add an npm script to output current electron versions

This commit is contained in:
Xymorot 2020-01-08 21:06:12 +01:00
parent e270b9d018
commit 39af36bf52
2 changed files with 3 additions and 0 deletions

2
electron-version.js Normal file
View File

@ -0,0 +1,2 @@
console.log(process.versions);
process.exit(0);

View File

@ -14,6 +14,7 @@
"postinstall": "npm run rebuild",
"start": "electron . --enable-logging --dev",
"rebuild": "electron-rebuild -f -b -t prod,dev,optional",
"electron-version": "electron electron-version.js",
"typeorm:migrate": "npm run typeorm:migrate:library",
"typeorm:migrate:library": "typeorm migration:run -c library",
"build:webpack": "webpack --config webpack.config.js",