2016-03-27 20:40:07 +02:00
|
|
|
{
|
2020-05-11 21:59:45 +02:00
|
|
|
"name": "magicmirror",
|
2026-01-01 09:06:29 -06:00
|
|
|
"version": "2.35.0-develop",
|
2020-05-11 21:59:45 +02:00
|
|
|
"description": "The open source modular smart mirror platform.",
|
2024-05-01 19:54:38 +02:00
|
|
|
"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": [
|
2025-12-01 20:05:06 +01:00
|
|
|
{
|
|
|
|
|
"name": "MagicMirror contributors",
|
|
|
|
|
"url": "https://github.com/MagicMirrorOrg/MagicMirror/graphs/contributors"
|
|
|
|
|
}
|
2024-05-01 19:54:38 +02:00
|
|
|
],
|
2025-06-20 14:26:33 +02:00
|
|
|
"type": "commonjs",
|
2025-07-10 08:12:09 +02:00
|
|
|
"imports": {
|
2025-08-27 13:50:37 +02:00
|
|
|
"#server_functions": {
|
|
|
|
|
"default": "./js/server_functions.js"
|
2026-01-22 19:24:37 +01:00
|
|
|
},
|
|
|
|
|
"#http_fetcher": {
|
|
|
|
|
"default": "./js/http_fetcher.js"
|
2025-07-10 08:12:09 +02:00
|
|
|
}
|
|
|
|
|
},
|
2020-05-11 21:59:45 +02:00
|
|
|
"main": "js/electron.js",
|
|
|
|
|
"scripts": {
|
2024-12-01 15:26:23 +01:00
|
|
|
"config:check": "node js/check_config.js",
|
2026-01-27 08:37:52 +01:00
|
|
|
"postinstall": "git clean -df fonts vendor modules/default",
|
2024-12-01 15:26:23 +01:00
|
|
|
"install-mm": "npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev",
|
2025-11-08 21:59:05 +01:00
|
|
|
"install-mm:dev": "npm install --no-audit --no-fund --no-update-notifier && npx playwright install chromium",
|
2026-01-28 10:50:25 +01:00
|
|
|
"lint:css": "stylelint 'css/**/*.css' 'defaultmodules/**/*.css' --fix",
|
2025-02-22 19:12:01 +01:00
|
|
|
"lint:js": "eslint --fix",
|
2024-12-07 10:12:28 +01:00
|
|
|
"lint:markdown": "markdownlint-cli2 . --fix",
|
2024-12-01 15:26:23 +01:00
|
|
|
"lint:prettier": "prettier . --write",
|
|
|
|
|
"prepare": "[ -f node_modules/.bin/husky ] && husky || echo no husky installed.",
|
|
|
|
|
"server": "node ./serveronly",
|
2025-10-28 19:14:51 +01:00
|
|
|
"server:watch": "node ./serveronly/watcher.js",
|
2026-01-11 00:01:55 +01:00
|
|
|
"start": "node --run start:wayland",
|
|
|
|
|
"start:dev": "node --run start:wayland -- dev",
|
2025-12-14 19:45:20 +01:00
|
|
|
"start:wayland": "WAYLAND_DISPLAY=\"${WAYLAND_DISPLAY:=wayland-1}\" ./node_modules/.bin/electron js/electron.js --ozone-platform=wayland",
|
2025-05-06 20:33:42 +02:00
|
|
|
"start:wayland:dev": "node --run start:wayland -- dev",
|
2024-10-23 21:42:29 +02:00
|
|
|
"start:windows": ".\\node_modules\\.bin\\electron js\\electron.js",
|
2025-05-06 20:33:42 +02:00
|
|
|
"start:windows:dev": "node --run start:windows -- dev",
|
2024-10-23 21:42:29 +02:00
|
|
|
"start:x11": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js",
|
2025-05-06 20:33:42 +02:00
|
|
|
"start:x11:dev": "node --run start:x11 -- dev",
|
2025-11-03 19:47:01 +01:00
|
|
|
"test": "vitest run",
|
2026-01-27 08:37:52 +01:00
|
|
|
"test:calendar": "node ./defaultmodules/calendar/debug.js",
|
2025-11-03 19:47:01 +01:00
|
|
|
"test:coverage": "vitest run --coverage",
|
2026-01-28 10:50:25 +01:00
|
|
|
"test:css": "stylelint 'css/**/*.css' 'defaultmodules/**/*.css'",
|
2025-11-03 19:47:01 +01:00
|
|
|
"test:e2e": "vitest run tests/e2e",
|
|
|
|
|
"test:electron": "vitest run tests/electron",
|
2025-02-22 19:12:01 +01:00
|
|
|
"test:js": "eslint",
|
2024-12-07 10:12:28 +01:00
|
|
|
"test:markdown": "markdownlint-cli2 .",
|
2024-12-01 15:26:23 +01:00
|
|
|
"test:prettier": "prettier . --check",
|
2024-09-18 07:37:09 +02:00
|
|
|
"test:spelling": "cspell . --gitignore",
|
2025-11-03 19:47:01 +01:00
|
|
|
"test:ui": "vitest --ui",
|
|
|
|
|
"test:unit": "vitest run tests/unit",
|
|
|
|
|
"test:watch": "vitest"
|
2020-05-11 21:59:45 +02:00
|
|
|
},
|
2024-05-01 19:54:38 +02:00
|
|
|
"lint-staged": {
|
2025-09-11 18:34:08 +02:00
|
|
|
"*": "prettier --ignore-unknown --write",
|
2024-05-01 19:54:38 +02:00
|
|
|
"*.js": "eslint --fix",
|
|
|
|
|
"*.css": "stylelint --fix"
|
2020-05-11 21:59:45 +02:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2025-12-01 20:05:06 +01:00
|
|
|
"@fontsource/roboto": "^5.2.9",
|
2025-09-23 06:27:29 +02:00
|
|
|
"@fontsource/roboto-condensed": "^5.2.8",
|
2025-10-16 23:47:06 +02:00
|
|
|
"@fortawesome/fontawesome-free": "^7.1.0",
|
2024-08-01 19:00:36 +02:00
|
|
|
"ajv": "^8.17.1",
|
2025-06-01 17:03:11 +02:00
|
|
|
"animate.css": "^4.1.1",
|
2023-10-01 20:13:41 +02:00
|
|
|
"console-stamp": "^3.1.2",
|
2025-06-19 07:35:42 +02:00
|
|
|
"croner": "^9.1.0",
|
2025-12-28 12:14:31 +01:00
|
|
|
"eslint": "^9.39.2",
|
2025-12-10 19:42:20 +01:00
|
|
|
"express": "^5.2.1",
|
2020-12-11 11:09:52 +01:00
|
|
|
"feedme": "^2.0.2",
|
2025-03-21 12:30:08 +01:00
|
|
|
"helmet": "^8.1.0",
|
2023-10-01 20:13:41 +02:00
|
|
|
"html-to-text": "^9.0.5",
|
2026-01-24 13:15:15 +01:00
|
|
|
"iconv-lite": "^0.7.2",
|
2025-12-01 20:05:06 +01:00
|
|
|
"ipaddr.js": "^2.3.0",
|
2024-01-01 15:38:08 +01:00
|
|
|
"moment": "^2.30.1",
|
2025-06-01 17:51:31 +02:00
|
|
|
"moment-timezone": "^0.6.0",
|
2026-01-31 23:45:46 +01:00
|
|
|
"node-ical": "^0.24.1",
|
2025-06-01 17:03:11 +02:00
|
|
|
"nunjucks": "^3.2.4",
|
2025-12-01 20:05:06 +01:00
|
|
|
"pm2": "^6.0.14",
|
2025-12-28 12:14:31 +01:00
|
|
|
"socket.io": "^4.8.3",
|
2024-03-22 11:49:40 -07:00
|
|
|
"suncalc": "^1.9.0",
|
2026-01-31 23:45:46 +01:00
|
|
|
"systeminformation": "^5.30.7",
|
|
|
|
|
"undici": "^7.19.2",
|
2025-06-01 17:03:11 +02:00
|
|
|
"weathericons": "^2.1.0"
|
2023-10-01 20:13:41 +02:00
|
|
|
},
|
2024-05-01 19:54:38 +02:00
|
|
|
"devDependencies": {
|
2026-01-24 13:15:15 +01:00
|
|
|
"@stylistic/eslint-plugin": "^5.7.1",
|
|
|
|
|
"@vitest/coverage-v8": "^4.0.18",
|
2026-01-12 09:03:32 +01:00
|
|
|
"@vitest/eslint-plugin": "^1.6.6",
|
2026-01-24 13:15:15 +01:00
|
|
|
"@vitest/ui": "^4.0.18",
|
2026-01-27 22:31:35 +01:00
|
|
|
"cspell": "^9.6.2",
|
2025-06-29 19:47:21 +02:00
|
|
|
"eslint-plugin-import-x": "^4.16.1",
|
2026-01-31 23:45:46 +01:00
|
|
|
"eslint-plugin-jsdoc": "^62.5.0",
|
2026-01-24 13:15:15 +01:00
|
|
|
"eslint-plugin-package-json": "^0.88.2",
|
2026-01-27 22:31:35 +01:00
|
|
|
"eslint-plugin-playwright": "^2.5.1",
|
2024-05-01 19:54:38 +02:00
|
|
|
"express-basic-auth": "^1.2.1",
|
2024-12-18 22:04:16 +01:00
|
|
|
"husky": "^9.1.7",
|
2025-12-28 12:14:31 +01:00
|
|
|
"jsdom": "^27.4.0",
|
2025-12-01 20:05:06 +01:00
|
|
|
"lint-staged": "^16.2.7",
|
2025-12-10 19:42:20 +01:00
|
|
|
"markdownlint-cli2": "^0.20.0",
|
2026-01-22 19:24:37 +01:00
|
|
|
"msw": "^2.12.7",
|
2026-01-31 23:45:46 +01:00
|
|
|
"playwright": "^1.58.1",
|
2026-01-24 13:15:15 +01:00
|
|
|
"prettier": "^3.8.1",
|
2025-09-11 13:10:53 +02:00
|
|
|
"prettier-plugin-jinja-template": "^2.1.0",
|
2026-01-31 23:45:46 +01:00
|
|
|
"stylelint": "^17.1.0",
|
2026-01-24 13:15:15 +01:00
|
|
|
"stylelint-config-standard": "^40.0.0",
|
2025-11-03 19:47:01 +01:00
|
|
|
"stylelint-prettier": "^5.0.3",
|
2026-01-24 13:15:15 +01:00
|
|
|
"vitest": "^4.0.18"
|
2024-05-01 19:54:38 +02:00
|
|
|
},
|
|
|
|
|
"optionalDependencies": {
|
2026-01-31 23:45:46 +01:00
|
|
|
"electron": "^40.1.0"
|
2024-05-01 19:54:38 +02:00
|
|
|
},
|
|
|
|
|
"engines": {
|
2025-12-10 19:42:20 +01:00
|
|
|
"node": ">=22.21.1 <23 || >=24"
|
2020-05-11 21:59:45 +02:00
|
|
|
}
|
2016-09-08 15:14:00 -04:00
|
|
|
}
|