Files
MagicMirror/package.json
T

134 lines
4.1 KiB
JSON
Raw Normal View History

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": [
{
"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",
"imports": {
2025-08-27 13:50:37 +02:00
"#server_functions": {
"default": "./js/server_functions.js"
},
"#http_fetcher": {
"default": "./js/http_fetcher.js"
}
},
2020-05-11 21:59:45 +02:00
"main": "js/electron.js",
"scripts": {
"config:check": "node js/check_config.js",
"postinstall": "git clean -df fonts vendor modules/default",
"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 && 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",
"lint:prettier": "prettier . --write",
"prepare": "[ -f node_modules/.bin/husky ] && husky || echo no husky installed.",
"server": "node ./serveronly",
"server:watch": "node ./serveronly/watcher.js",
"start": "node --run start:wayland",
"start:dev": "node --run start:wayland -- dev",
"start:wayland": "WAYLAND_DISPLAY=\"${WAYLAND_DISPLAY:=wayland-1}\" ./node_modules/.bin/electron js/electron.js --ozone-platform=wayland",
"start:wayland:dev": "node --run start:wayland -- dev",
"start:windows": ".\\node_modules\\.bin\\electron js\\electron.js",
"start:windows:dev": "node --run start:windows -- dev",
"start:x11": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js",
"start:x11:dev": "node --run start:x11 -- dev",
2025-11-03 19:47:01 +01:00
"test": "vitest run",
"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 .",
"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": {
"*": "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": {
"@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",
"animate.css": "^4.1.1",
+34
2023-10-01 20:13:41 +02:00
"console-stamp": "^3.1.2",
"croner": "^9.1.0",
"eslint": "^9.39.2",
"express": "^5.2.1",
2020-12-11 11:09:52 +01:00
"feedme": "^2.0.2",
"helmet": "^8.1.0",
+34
2023-10-01 20:13:41 +02:00
"html-to-text": "^9.0.5",
"iconv-lite": "^0.7.2",
"ipaddr.js": "^2.3.0",
+37
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",
"nunjucks": "^3.2.4",
"pm2": "^6.0.14",
"socket.io": "^4.8.3",
"suncalc": "^1.9.0",
2026-01-31 23:45:46 +01:00
"systeminformation": "^5.30.7",
"undici": "^7.19.2",
"weathericons": "^2.1.0"
+34
2023-10-01 20:13:41 +02:00
},
2024-05-01 19:54:38 +02:00
"devDependencies": {
"@stylistic/eslint-plugin": "^5.7.1",
"@vitest/coverage-v8": "^4.0.18",
"@vitest/eslint-plugin": "^1.6.6",
"@vitest/ui": "^4.0.18",
2026-01-27 22:31:35 +01:00
"cspell": "^9.6.2",
"eslint-plugin-import-x": "^4.16.1",
2026-01-31 23:45:46 +01:00
"eslint-plugin-jsdoc": "^62.5.0",
"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",
"jsdom": "^27.4.0",
"lint-staged": "^16.2.7",
"markdownlint-cli2": "^0.20.0",
"msw": "^2.12.7",
2026-01-31 23:45:46 +01:00
"playwright": "^1.58.1",
"prettier": "^3.8.1",
"prettier-plugin-jinja-template": "^2.1.0",
2026-01-31 23:45:46 +01:00
"stylelint": "^17.1.0",
"stylelint-config-standard": "^40.0.0",
2025-11-03 19:47:01 +01:00
"stylelint-prettier": "^5.0.3",
"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": {
"node": ">=22.21.1 <23 || >=24"
2020-05-11 21:59:45 +02:00
}
}