Files
MagicMirror/package.json
T

116 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-01-01 10:33:17 -06:00
"version": "2.31.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"
],
2020-05-11 21:59:45 +02:00
"main": "js/electron.js",
"scripts": {
"config:check": "node js/check_config.js",
"install-fonts": "echo \"Installing fonts ...\n\" && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier",
"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",
"lint:css": "stylelint 'css/main.css' 'fonts/*.css' 'modules/default/**/*.css' 'vendor/*.css' --config .stylelintrc.json --fix",
"lint:js": "eslint . --fix",
2024-12-07 10:12:28 +01:00
"lint:markdown": "markdownlint-cli2 . --fix",
"lint:prettier": "prettier . --write",
"postinstall": "npm run install-vendor && npm run install-fonts && echo \"MagicMirror² installation finished successfully! \n\"",
"prepare": "[ -f node_modules/.bin/husky ] && husky || echo no husky installed.",
"server": "node ./serveronly",
"start": "npm run start:x11",
"start:dev": "npm run start -- 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": "npm run start:wayland -- dev",
"start:windows": ".\\node_modules\\.bin\\electron js\\electron.js",
"start:windows:dev": "npm run start:windows -- dev",
"start:x11": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js",
2025-01-19 16:29:28 +01:00
"start:x11:dev": "npm 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' 'fonts/*.css' 'modules/default/**/*.css' 'vendor/*.css' --config .stylelintrc.json",
"test:e2e": "NODE_ENV=test jest --selectProjects e2e -i --forceExit",
"test:electron": "NODE_ENV=test jest --selectProjects electron -i --forceExit",
2024-01-24 20:43:59 +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": {
2024-08-01 19:00:36 +02:00
"ajv": "^8.17.1",
2025-01-13 21:36:44 +01:00
"ansis": "^3.9.0",
2023-10-01 20:13:41 +02:00
"console-stamp": "^3.1.2",
2023-04-04 20:44:32 +02:00
"envsub": "^4.1.0",
2025-01-13 21:36:44 +01:00
"eslint": "^9.18.0",
2024-12-18 22:04:16 +01:00
"express": "^4.21.2",
"express-ipfilter": "^1.3.2",
2020-12-11 11:09:52 +01:00
"feedme": "^2.0.2",
2024-10-02 18:42:05 +02:00
"helmet": "^8.0.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",
"node-ical": "^0.20.1",
"pm2": "^5.4.3",
"socket.io": "^4.8.1",
"suncalc": "^1.9.0",
2025-01-13 21:36:44 +01:00
"systeminformation": "^5.25.11",
"undici": "^7.2.1"
2023-10-01 20:13:41 +02:00
},
2024-05-01 19:54:38 +02:00
"devDependencies": {
2025-01-13 21:36:44 +01:00
"@stylistic/eslint-plugin": "^2.13.0",
"cspell": "^8.17.2",
2024-10-13 15:22:02 +02:00
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.10.0",
2024-12-18 22:04:16 +01:00
"eslint-plugin-jsdoc": "^50.6.1",
2025-01-01 14:30:18 +01:00
"eslint-plugin-package-json": "^0.19.0",
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",
2024-05-01 19:54:38 +02:00
"jest": "^29.7.0",
2025-01-13 21:36:44 +01:00
"jsdom": "^26.0.0",
"lint-staged": "^15.3.0",
2025-01-01 14:30:18 +01:00
"markdownlint-cli2": "^0.17.1",
2024-12-18 22:04:16 +01:00
"playwright": "^1.49.1",
"prettier": "^3.4.2",
2024-09-14 22:05:20 +02:00
"sinon": "^19.0.2",
2025-01-13 21:36:44 +01:00
"stylelint": "^16.13.1",
"stylelint-config-standard": "^37.0.0",
2024-08-01 19:00:36 +02:00
"stylelint-prettier": "^5.0.2"
2020-05-11 21:59:45 +02:00
},
2024-05-01 19:54:38 +02:00
"optionalDependencies": {
2025-01-13 21:36:44 +01:00
"electron": "^32.2.8"
2020-05-11 21:59:45 +02:00
},
2021-01-05 09:54:03 +01:00
"engines": {
"node": ">=20.18.1 <21 || >=22"
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
}
}