Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

package.json 4.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. {
  2. "name": "magicmirror",
  3. "version": "2.17.1",
  4. "description": "The open source modular smart mirror platform.",
  5. "main": "js/electron.js",
  6. "scripts": {
  7. "start": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js",
  8. "start:dev": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js dev",
  9. "server": "node ./serveronly",
  10. "install": "echo \"Installing vendor files ...\n\" && cd vendor && npm install --loglevel=error",
  11. "install-fonts": "echo \"Installing fonts ...\n\" && cd fonts && npm install --loglevel=error",
  12. "postinstall": "npm run install-fonts && echo \"MagicMirror installation finished successfully! \n\"",
  13. "test": "NODE_ENV=test jest -i --forceExit",
  14. "test:coverage": "NODE_ENV=test nyc --reporter=lcov --reporter=text jest -i --forceExit",
  15. "test:electron": "NODE_ENV=test jest --selectProjects electron -i --forceExit",
  16. "test:e2e": "NODE_ENV=test jest --selectProjects e2e -i --forceExit",
  17. "test:unit": "NODE_ENV=test jest --selectProjects unit -i --forceExit",
  18. "test:prettier": "prettier . --check",
  19. "test:js": "eslint 'js/**/*.js' 'modules/default/**/*.js' 'clientonly/*.js' 'serveronly/*.js' 'translations/*.js' 'vendor/*.js' 'tests/**/*.js' 'config/*' --config .eslintrc.json",
  20. "test:css": "stylelint 'css/main.css' 'fonts/*.css' 'modules/default/**/*.css' 'vendor/*.css' --config .stylelintrc.json",
  21. "test:calendar": "node ./modules/default/calendar/debug.js",
  22. "config:check": "node js/check_config.js",
  23. "lint:prettier": "prettier . --write",
  24. "lint:js": "eslint 'js/**/*.js' 'modules/default/**/*.js' 'clientonly/*.js' 'serveronly/*.js' 'translations/*.js' 'vendor/*.js' 'tests/**/*.js' 'config/*' --config .eslintrc.json --fix",
  25. "lint:css": "stylelint 'css/main.css' 'fonts/*.css' 'modules/default/**/*.css' 'vendor/*.css' --config .stylelintrc.json --fix",
  26. "lint:staged": "pretty-quick --staged",
  27. "prepare": "[ -f node_modules/.bin/husky ] && husky install || echo no husky installed."
  28. },
  29. "repository": {
  30. "type": "git",
  31. "url": "git+https://github.com/MichMich/MagicMirror.git"
  32. },
  33. "keywords": [
  34. "magic mirror",
  35. "smart mirror",
  36. "mirror UI",
  37. "modular"
  38. ],
  39. "author": "Michael Teeuw",
  40. "contributors": [
  41. "https://github.com/MichMich/MagicMirror/graphs/contributors"
  42. ],
  43. "license": "MIT",
  44. "bugs": {
  45. "url": "https://github.com/MichMich/MagicMirror/issues"
  46. },
  47. "homepage": "https://magicmirror.builders",
  48. "devDependencies": {
  49. "eslint-config-prettier": "^8.3.0",
  50. "eslint-plugin-jest": "^24.4.2",
  51. "eslint-plugin-jsdoc": "^36.1.0",
  52. "eslint-plugin-prettier": "^4.0.0",
  53. "express-basic-auth": "^1.2.0",
  54. "husky": "^7.0.2",
  55. "jest": "^27.2.2",
  56. "jsdom": "^17.0.0",
  57. "lodash": "^4.17.21",
  58. "nyc": "^15.1.0",
  59. "prettier": "^2.4.1",
  60. "pretty-quick": "^3.1.1",
  61. "sinon": "^11.1.2",
  62. "spectron": "^15.0.0",
  63. "stylelint": "^13.13.1",
  64. "stylelint-config-prettier": "^8.0.2",
  65. "stylelint-config-standard": "^22.0.0",
  66. "stylelint-prettier": "^1.2.0",
  67. "suncalc": "^1.8.0"
  68. },
  69. "optionalDependencies": {
  70. "electron": "^13.5.1"
  71. },
  72. "dependencies": {
  73. "colors": "^1.4.0",
  74. "console-stamp": "^3.0.3",
  75. "digest-fetch": "^1.2.1",
  76. "eslint": "^7.32.0",
  77. "express": "^4.17.1",
  78. "express-ipfilter": "^1.2.0",
  79. "feedme": "^2.0.2",
  80. "helmet": "^4.6.0",
  81. "iconv-lite": "^0.6.3",
  82. "module-alias": "^2.2.2",
  83. "moment": "^2.29.1",
  84. "node-fetch": "^2.6.5",
  85. "node-ical": "^0.13.0",
  86. "request": "^2.88.2",
  87. "socket.io": "^4.2.0"
  88. },
  89. "_moduleAliases": {
  90. "node_helper": "js/node_helper.js",
  91. "logger": "js/logger.js"
  92. },
  93. "engines": {
  94. "node": ">=12"
  95. },
  96. "jest": {
  97. "verbose": true,
  98. "projects": [
  99. {
  100. "displayName": "unit",
  101. "moduleNameMapper": {
  102. "logger": "<rootDir>/js/logger.js"
  103. },
  104. "testMatch": [
  105. "**/tests/unit/**/*.[jt]s?(x)"
  106. ],
  107. "testPathIgnorePatterns": [
  108. "<rootDir>/tests/unit/mocks"
  109. ]
  110. },
  111. {
  112. "displayName": "electron",
  113. "testMatch": [
  114. "**/tests/electron/**/*.[jt]s?(x)"
  115. ],
  116. "testPathIgnorePatterns": [
  117. "<rootDir>/tests/electron/modules/mocks",
  118. "<rootDir>/tests/electron/global-setup.js",
  119. "<rootDir>/tests/electron/modules/basic-auth.js"
  120. ]
  121. },
  122. {
  123. "displayName": "e2e",
  124. "setupFilesAfterEnv": [
  125. "<rootDir>/tests/e2e/mock-console.js"
  126. ],
  127. "testMatch": [
  128. "**/tests/e2e/**/*.[jt]s?(x)"
  129. ],
  130. "modulePaths": [
  131. "<rootDir>/js/"
  132. ],
  133. "testPathIgnorePatterns": [
  134. "<rootDir>/tests/e2e/global-setup.js",
  135. "<rootDir>/tests/e2e/mock-console.js"
  136. ]
  137. }
  138. ]
  139. }
  140. }