Files
MagicMirror/package.json
T

127 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",
2025-07-01 00:21:39 +02:00
"version": "2.33.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": [
"https://github.com/MagicMirrorOrg/MagicMirror/graphs/contributors"
],
2025-06-20 14:26:33 +02:00
"type": "commonjs",
"imports": {
"#module_functions": {
"default": "./js/module_functions.js"
}
},
2020-05-11 21:59:45 +02:00
"main": "js/electron.js",
"scripts": {
"config:check": "node js/check_config.js",
2025-08-11 12:49:03 +02:00
"postinstall": "git clean -df fonts vendor",
"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",
"lint:css": "stylelint 'css/main.css' 'css/roboto.css' 'css/font-awesome.css' 'modules/default/**/*.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",
"start": "node --run start:x11",
2025-05-07 16:06:09 +02:00
"start:dev": "node --run start:x11 -- dev",
"start:wayland": "WAYLAND_DISPLAY=\"${WAYLAND_DISPLAY:=wayland-1}\" ./node_modules/.bin/electron js/electron.js --enable-features=UseOzonePlatform --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",
"test": "NODE_ENV=test jest -i --forceExit",
"test:calendar": "node ./modules/default/calendar/debug.js",
2023-04-04 20:44:32 +02:00
"test:coverage": "NODE_ENV=test jest --coverage -i --verbose false --forceExit",
"test:css": "stylelint 'css/main.css' 'css/roboto.css' 'css/font-awesome.css' 'modules/default/**/*.css'",
"test:e2e": "NODE_ENV=test jest --selectProjects e2e -i --forceExit",
"test:electron": "NODE_ENV=test jest --selectProjects electron -i --forceExit",
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",
"test:unit": "NODE_ENV=test jest --selectProjects unit"
2020-05-11 21:59:45 +02:00
},
2024-05-01 19:54:38 +02:00
"lint-staged": {
"*": "prettier --write",
"*.js": "eslint --fix",
"*.css": "stylelint --fix"
2020-05-11 21:59:45 +02:00
},
"dependencies": {
"@fontsource/roboto": "^5.2.6",
"@fontsource/roboto-condensed": "^5.2.6",
2025-07-22 22:09:29 +02:00
"@fortawesome/fontawesome-free": "^7.0.0",
2024-08-01 19:00:36 +02:00
"ajv": "^8.17.1",
"animate.css": "^4.1.1",
2023-10-01 20:13:41 +02:00
"console-stamp": "^3.1.2",
"croner": "^9.1.0",
2023-04-04 20:44:32 +02:00
"envsub": "^4.1.0",
2025-08-11 12:49:03 +02:00
"eslint": "^9.33.0",
2025-05-09 22:35:09 +02:00
"express": "^5.1.0",
"express-ipfilter": "^1.3.2",
2020-12-11 11:09:52 +01:00
"feedme": "^2.0.2",
"helmet": "^8.1.0",
2023-10-01 20:13:41 +02:00
"html-to-text": "^9.0.5",
2021-05-29 13:32:24 +02:00
"iconv-lite": "^0.6.3",
2023-07-01 21:17:31 +02:00
"module-alias": "^2.2.3",
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",
"node-ical": "^0.20.1",
"nunjucks": "^3.2.4",
"pm2": "^6.0.8",
"socket.io": "^4.8.1",
"suncalc": "^1.9.0",
"systeminformation": "^5.27.7",
2025-08-11 12:49:03 +02:00
"undici": "^7.13.0",
"weathericons": "^2.1.0"
2023-10-01 20:13:41 +02:00
},
2024-05-01 19:54:38 +02:00
"devDependencies": {
2025-08-11 12:49:03 +02:00
"@stylistic/eslint-plugin": "^5.2.3",
2025-07-22 22:09:29 +02:00
"cspell": "^9.2.0",
"eslint-plugin-import-x": "^4.16.1",
"eslint-plugin-jest": "^29.0.1",
2025-08-11 12:49:03 +02:00
"eslint-plugin-jsdoc": "^52.0.4",
"eslint-plugin-package-json": "^0.52.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-07-22 22:09:29 +02:00
"jest": "^30.0.5",
2025-05-09 22:35:09 +02:00
"jsdom": "^26.1.0",
2025-08-11 12:49:03 +02:00
"lint-staged": "^16.1.5",
"markdownlint-cli2": "^0.18.1",
2025-08-11 12:49:03 +02:00
"playwright": "^1.54.2",
"prettier": "^3.6.2",
"sinon": "^21.0.0",
2025-08-11 12:49:03 +02:00
"stylelint": "^16.23.1",
"stylelint-config-standard": "^39.0.0",
2025-02-01 22:24:49 +01:00
"stylelint-prettier": "^5.0.3"
2020-05-11 21:59:45 +02:00
},
2024-05-01 19:54:38 +02:00
"optionalDependencies": {
2025-08-11 12:49:03 +02:00
"electron": "^37.2.6"
2020-05-11 21:59:45 +02:00
},
2021-01-05 09:54:03 +01:00
"engines": {
"node": ">=22.14.0"
2024-05-01 19:54:38 +02:00
},
"_moduleAliases": {
"node_helper": "js/node_helper.js",
"logger": "js/logger.js"
2020-05-11 21:59:45 +02:00
}
}