mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-24 12:20:59 +00:00
## [2.28.0] - 2024-07-01 Thanks to: @btoconnor, @bugsounet, @JasonStieber, @khassel, @kleinmantara and @WallysWellies. > ⚠️ This release needs nodejs version >= v20 ### Added - [calendar] Added config option "showEndsOnlyWithDuration" for default calendar - [compliments] Added `specialDayUnique` config option, defaults to `false` (#3465) - [weather] Provider weathergov: Use `precipitationLast3Hours` if `precipitationLastHour` is `null` (#3124) ### Removed - [tests] delete node v18 support (#3462) ### Updated - [core] Update dependencies including electron to v31 - [core] use node >= v20 (#3462) - [core] Update `config.js.sample` to use openmeteo as weather provider which needs no api key - [tests] Use latest@version of node for `automated-tests.yaml` (#3483) - [updatenotification] Avoid using pm2 when running in docker container ### Fixed - [core] Fixed crash possibility if `module: <name>` is not defined and on `postion: <positon>` mistake (#3445) - [weather] Fixed precipitationProbability in forecast for provider openmeteo (#3446) - [weather] Fixed type=daily for provider openmeteo having no data when running after 23:00 (#3449) - [weather] Fixed type=daily for provider openmeteo showing nightly icons in forecast when current time is "nightly" (#3458) - [weather] Fixed forecast and hourly weather for provider openmeteo to use real temperatures, not apparent temperatures (#3466) - [tests] Fixed e2e tests running in docker container which needs `address: "0.0.0.0"` (#3479) --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Michael Teeuw <michael@xonaymedia.nl> Co-authored-by: Kristjan ESPERANTO <35647502+KristjanESPERANTO@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ross Younger <crazyscot@gmail.com> Co-authored-by: Veeck <github@veeck.de> Co-authored-by: Bugsounet - Cédric <github@bugsounet.fr> Co-authored-by: jkriegshauser <joshuakr@nvidia.com> Co-authored-by: illimarkangur <116028111+illimarkangur@users.noreply.github.com> Co-authored-by: sam detweiler <sdetweil@gmail.com> Co-authored-by: vppencilsharpener <tim.pray@gmail.com> Co-authored-by: veeck <michael.veeck@nebenan.de> Co-authored-by: Paranoid93 <6515818+Paranoid93@users.noreply.github.com> Co-authored-by: Brian O'Connor <btoconnor@users.noreply.github.com> Co-authored-by: WallysWellies <59727507+WallysWellies@users.noreply.github.com> Co-authored-by: Jason Stieber <jrstieber@gmail.com>
106 lines
3.6 KiB
JSON
106 lines
3.6 KiB
JSON
{
|
|
"name": "magicmirror",
|
|
"version": "2.28.0",
|
|
"description": "The open source modular smart mirror platform.",
|
|
"keywords": [
|
|
"magic mirror",
|
|
"magicmirror",
|
|
"smart mirror",
|
|
"mirror UI",
|
|
"modular"
|
|
],
|
|
"homepage": "https://magicmirror.builders",
|
|
"bugs": {
|
|
"url": "https://github.com/MagicMirrorOrg/MagicMirror/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/MagicMirrorOrg/MagicMirror"
|
|
},
|
|
"license": "MIT",
|
|
"author": "Michael Teeuw",
|
|
"contributors": [
|
|
"https://github.com/MagicMirrorOrg/MagicMirror/graphs/contributors"
|
|
],
|
|
"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-mm": "npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev",
|
|
"install-mm:dev": "npm install --no-audit --no-fund --no-update-notifier",
|
|
"install-vendor": "echo \"Installing vendor files ...\n\" && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier",
|
|
"install-fonts": "echo \"Installing fonts ...\n\" && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier",
|
|
"postinstall": "npm run install-vendor && npm run install-fonts && echo \"MagicMirror² installation finished successfully! \n\"",
|
|
"test": "NODE_ENV=test jest -i --forceExit",
|
|
"test:coverage": "NODE_ENV=test jest --coverage -i --verbose false --forceExit",
|
|
"test:electron": "NODE_ENV=test jest --selectProjects electron -i --forceExit",
|
|
"test:e2e": "NODE_ENV=test jest --selectProjects e2e -i --forceExit",
|
|
"test:unit": "NODE_ENV=test jest --selectProjects unit",
|
|
"test:prettier": "prettier . --check",
|
|
"test:js": "eslint .",
|
|
"test:css": "stylelint 'css/main.css' 'fonts/*.css' 'modules/default/**/*.css' 'vendor/*.css' --config .stylelintrc.json",
|
|
"test:calendar": "node ./modules/default/calendar/debug.js",
|
|
"config:check": "node js/check_config.js",
|
|
"lint:prettier": "prettier . --write",
|
|
"lint:js": "eslint . --fix",
|
|
"lint:css": "stylelint 'css/main.css' 'fonts/*.css' 'modules/default/**/*.css' 'vendor/*.css' --config .stylelintrc.json --fix",
|
|
"lint:staged": "lint-staged",
|
|
"prepare": "[ -f node_modules/.bin/husky ] && husky || echo no husky installed."
|
|
},
|
|
"lint-staged": {
|
|
"*": "prettier --write",
|
|
"*.js": "eslint --fix",
|
|
"*.css": "stylelint --fix"
|
|
},
|
|
"dependencies": {
|
|
"ajv": "^8.16.0",
|
|
"ansis": "^3.2.0",
|
|
"console-stamp": "^3.1.2",
|
|
"envsub": "^4.1.0",
|
|
"eslint": "^8.57.0",
|
|
"express": "^4.19.2",
|
|
"express-ipfilter": "^1.3.2",
|
|
"feedme": "^2.0.2",
|
|
"helmet": "^7.1.0",
|
|
"html-to-text": "^9.0.5",
|
|
"iconv-lite": "^0.6.3",
|
|
"module-alias": "^2.2.3",
|
|
"moment": "^2.30.1",
|
|
"node-ical": "^0.18.0",
|
|
"pm2": "^5.4.1",
|
|
"socket.io": "^4.7.5",
|
|
"suncalc": "^1.9.0",
|
|
"systeminformation": "^5.22.11"
|
|
},
|
|
"devDependencies": {
|
|
"@stylistic/eslint-plugin": "^1.8.1",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"eslint-plugin-jest": "^28.6.0",
|
|
"eslint-plugin-jsdoc": "^48.5.0",
|
|
"eslint-plugin-package-json": "^0.15.0",
|
|
"eslint-plugin-unicorn": "^54.0.0",
|
|
"express-basic-auth": "^1.2.1",
|
|
"husky": "^9.0.11",
|
|
"jest": "^29.7.0",
|
|
"jsdom": "^24.1.0",
|
|
"lint-staged": "^15.2.7",
|
|
"playwright": "^1.45.0",
|
|
"prettier": "^3.3.2",
|
|
"sinon": "^18.0.0",
|
|
"stylelint": "^16.6.1",
|
|
"stylelint-config-standard": "^36.0.1",
|
|
"stylelint-prettier": "^5.0.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"electron": "^31.1.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"_moduleAliases": {
|
|
"node_helper": "js/node_helper.js",
|
|
"logger": "js/logger.js"
|
|
}
|
|
}
|