1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-25 03:33:14 +01:00

Add alternative method for developing using watch and start-dist

Because of this issue https://github.com/electron/electron-compile/issues/146
This commit is contained in:
Mikael Finstad 2016-10-31 22:12:35 +01:00
parent 4a9e849ca2
commit e5c81f0ea8

View File

@ -6,6 +6,8 @@
"scripts": {
"start": "electron src",
"build": "rm -rf dist && babel src -d dist --copy-files && ln -s ../node_modules dist/ && ln -s ../package.json ./dist/",
"watch": "npm run build && babel src -d dist --copy-files -w",
"start-dist": "./node_modules/electron-prebuilt-compile/node_modules/electron/cli.js dist",
"package": "electron-packager dist LosslessCut --out=package --asar --overwrite --all --version 1.3.8",
"lint": "eslint ."
},