Merge pull request #2423 from rejas/add_start_dev

Added start:dev command to npm scripts
This commit is contained in:
Michael Teeuw
2021-01-21 15:08:52 +01:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -13,7 +13,8 @@ _This release is scheduled to be released on 2021-04-01._
- Added GitHub workflows for automated testing and changelog enforcement.
- Added CodeCov badge to Readme.
- Added CURRENTWEATHER_TYPE notification to currentweather and weather module, use it in compliments module
- Added CURRENTWEATHER_TYPE notification to currentweather and weather module, use it in compliments module.
- 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",