package.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. {
  2. "name": "magicmirror",
  3. "version": "2.29.0",
  4. "description": "The open source modular smart mirror platform.",
  5. "keywords": [
  6. "magic mirror",
  7. "magicmirror",
  8. "smart mirror",
  9. "mirror UI",
  10. "modular"
  11. ],
  12. "homepage": "https://magicmirror.builders",
  13. "bugs": {
  14. "url": "https://github.com/MagicMirrorOrg/MagicMirror/issues"
  15. },
  16. "repository": {
  17. "type": "git",
  18. "url": "https://github.com/MagicMirrorOrg/MagicMirror"
  19. },
  20. "license": "MIT",
  21. "author": "Michael Teeuw",
  22. "contributors": [
  23. "https://github.com/MagicMirrorOrg/MagicMirror/graphs/contributors"
  24. ],
  25. "main": "js/electron.js",
  26. "scripts": {
  27. "start": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js",
  28. "start:dev": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js dev",
  29. "server": "node ./serveronly",
  30. "install-mm": "npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev",
  31. "install-mm:dev": "npm install --no-audit --no-fund --no-update-notifier",
  32. "install-vendor": "echo \"Installing vendor files ...\n\" && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier",
  33. "install-fonts": "echo \"Installing fonts ...\n\" && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier",
  34. "postinstall": "npm run install-vendor && npm run install-fonts && echo \"MagicMirror² installation finished successfully! \n\"",
  35. "test": "NODE_ENV=test jest -i --forceExit",
  36. "test:coverage": "NODE_ENV=test jest --coverage -i --verbose false --forceExit",
  37. "test:electron": "NODE_ENV=test jest --selectProjects electron -i --forceExit",
  38. "test:e2e": "NODE_ENV=test jest --selectProjects e2e -i --forceExit",
  39. "test:unit": "NODE_ENV=test jest --selectProjects unit",
  40. "test:prettier": "prettier . --check",
  41. "test:js": "eslint .",
  42. "test:css": "stylelint 'css/main.css' 'fonts/*.css' 'modules/default/**/*.css' 'vendor/*.css' --config .stylelintrc.json",
  43. "test:calendar": "node ./modules/default/calendar/debug.js",
  44. "test:spelling": "cspell . --gitignore",
  45. "config:check": "node js/check_config.js",
  46. "lint:prettier": "prettier . --write",
  47. "lint:js": "eslint . --fix",
  48. "lint:css": "stylelint 'css/main.css' 'fonts/*.css' 'modules/default/**/*.css' 'vendor/*.css' --config .stylelintrc.json --fix",
  49. "lint:staged": "lint-staged",
  50. "prepare": "[ -f node_modules/.bin/husky ] && husky || echo no husky installed."
  51. },
  52. "lint-staged": {
  53. "*": "prettier --write",
  54. "*.js": "eslint --fix",
  55. "*.css": "stylelint --fix"
  56. },
  57. "dependencies": {
  58. "ajv": "^8.17.1",
  59. "ansis": "^3.3.2",
  60. "console-stamp": "^3.1.2",
  61. "envsub": "^4.1.0",
  62. "eslint": "^9.11.1",
  63. "express": "^4.21.0",
  64. "express-ipfilter": "^1.3.2",
  65. "feedme": "^2.0.2",
  66. "helmet": "^7.1.0",
  67. "html-to-text": "^9.0.5",
  68. "iconv-lite": "^0.6.3",
  69. "module-alias": "^2.2.3",
  70. "moment": "^2.30.1",
  71. "node-ical": "0.18.0",
  72. "pm2": "^5.4.2",
  73. "socket.io": "^4.8.0",
  74. "suncalc": "^1.9.0",
  75. "systeminformation": "^5.23.5"
  76. },
  77. "devDependencies": {
  78. "@eslint/js": "^9.11.1",
  79. "@stylistic/eslint-plugin": "^2.8.0",
  80. "cspell": "^8.14.4",
  81. "eslint-plugin-jest": "^28.8.3",
  82. "eslint-plugin-jsdoc": "^50.3.0",
  83. "eslint-plugin-package-json": "^0.15.3",
  84. "express-basic-auth": "^1.2.1",
  85. "husky": "^9.1.6",
  86. "jest": "^29.7.0",
  87. "jsdom": "^25.0.1",
  88. "lint-staged": "^15.2.10",
  89. "playwright": "^1.47.2",
  90. "prettier": "^3.3.3",
  91. "sinon": "^19.0.2",
  92. "stylelint": "^16.9.0",
  93. "stylelint-config-standard": "^36.0.1",
  94. "stylelint-prettier": "^5.0.2"
  95. },
  96. "optionalDependencies": {
  97. "electron": "^31.6.0"
  98. },
  99. "engines": {
  100. "node": ">=20.9.0 <21 || 22"
  101. },
  102. "_moduleAliases": {
  103. "node_helper": "js/node_helper.js",
  104. "logger": "js/logger.js"
  105. }
  106. }