mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 21:00:57 +00:00
Merge pull request #2423 from rejas/add_start_dev
Added start:dev command to npm scripts
This commit is contained in:
@@ -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 GitHub workflows for automated testing and changelog enforcement.
|
||||||
- Added CodeCov badge to Readme.
|
- 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
|
### Updated
|
||||||
|
|
||||||
|
@@ -5,6 +5,7 @@
|
|||||||
"main": "js/electron.js",
|
"main": "js/electron.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js",
|
"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",
|
"server": "node ./serveronly",
|
||||||
"install": "echo \"Installing vendor files ...\n\" && cd vendor && npm install --loglevel=error",
|
"install": "echo \"Installing vendor files ...\n\" && cd vendor && npm install --loglevel=error",
|
||||||
"install-fonts": "echo \"Installing fonts ...\n\" && cd fonts && npm install --loglevel=error",
|
"install-fonts": "echo \"Installing fonts ...\n\" && cd fonts && npm install --loglevel=error",
|
||||||
|
Reference in New Issue
Block a user