Added start:dev script

This commit is contained in:
rejas 2021-01-16 22:23:55 +01:00
parent 1fd506f25d
commit 052f0b8709
2 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ _This release is scheduled to be released on 2021-04-01._
- Added GitHub workflows for automated testing and changelog enforcement.
- Add CodeCov badge to Readme.
- Added `start:dev` command to the npm scripts for starting electron with devTools open
### Updated

View File

@ -5,6 +5,7 @@
"main": "js/electron.js",
"scripts": {
"start": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js",
"start:dev": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js dev",
"server": "node ./serveronly",
"install": "echo \"Installing vendor files ...\n\" && cd vendor && npm install --loglevel=error",
"install-fonts": "echo \"Installing fonts ...\n\" && cd fonts && npm install --loglevel=error",