MagicMirror/package.json

101 lines
3.8 KiB
JSON
Raw Normal View History

2016-03-27 20:40:07 +02:00
{
2020-05-11 21:59:45 +02:00
"name": "magicmirror",
2023-04-04 20:56:49 +02:00
"version": "2.24.0-develop",
2020-05-11 21:59:45 +02:00
"description": "The open source modular smart mirror platform.",
"main": "js/electron.js",
"scripts": {
2021-04-14 17:03:09 +02:00
"start": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js",
"start:dev": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js dev",
2020-05-11 21:59:45 +02:00
"server": "node ./serveronly",
"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",
"install-fonts": "echo \"Installing fonts ...\n\" && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier",
"postinstall": "npm run install-vendor && npm run install-fonts && echo \"MagicMirror² installation finished successfully! \n\"",
"test": "NODE_ENV=test jest -i --forceExit",
"test:coverage": "NODE_ENV=test jest --coverage -i --verbose false --forceExit",
"test:electron": "NODE_ENV=test jest --selectProjects electron -i --forceExit",
"test:e2e": "NODE_ENV=test jest --selectProjects e2e -i --forceExit",
"test:unit": "NODE_ENV=test jest --selectProjects unit",
2021-05-29 16:11:25 +02:00
"test:prettier": "prettier . --check",
"test:js": "eslint 'js/**/*.js' 'modules/default/**/*.js' 'clientonly/*.js' 'serveronly/*.js' 'translations/*.js' 'vendor/*.js' 'tests/**/*.js' 'config/*' --config .eslintrc.json",
2021-07-06 11:26:21 +02:00
"test:css": "stylelint 'css/main.css' 'fonts/*.css' 'modules/default/**/*.css' 'vendor/*.css' --config .stylelintrc.json",
"test:calendar": "node ./modules/default/calendar/debug.js",
2020-05-11 21:59:45 +02:00
"config:check": "node js/check_config.js",
2021-05-29 16:11:25 +02:00
"lint:prettier": "prettier . --write",
"lint:js": "eslint 'js/**/*.js' 'modules/default/**/*.js' 'clientonly/*.js' 'serveronly/*.js' 'translations/*.js' 'vendor/*.js' 'tests/**/*.js' 'config/*' --config .eslintrc.json --fix",
2021-07-06 11:26:21 +02:00
"lint:css": "stylelint 'css/main.css' 'fonts/*.css' 'modules/default/**/*.css' 'vendor/*.css' --config .stylelintrc.json --fix",
"lint:staged": "pretty-quick --staged",
2021-05-19 20:58:29 +02:00
"prepare": "[ -f node_modules/.bin/husky ] && husky install || echo no husky installed."
2020-05-11 21:59:45 +02:00
},
"repository": {
"type": "git",
"url": "git+https://github.com/MichMich/MagicMirror.git"
},
"keywords": [
"magic mirror",
"magicmirror",
2020-05-11 21:59:45 +02:00
"smart mirror",
"mirror UI",
"modular"
],
"author": "Michael Teeuw",
"contributors": [
"https://github.com/MichMich/MagicMirror/graphs/contributors"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/MichMich/MagicMirror/issues"
},
"homepage": "https://magicmirror.builders",
"devDependencies": {
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jsdoc": "^44.2.7",
2022-08-07 23:17:24 +02:00
"eslint-plugin-prettier": "^4.2.1",
2021-12-13 21:34:32 +01:00
"express-basic-auth": "^1.2.1",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jsdom": "^22.1.0",
2021-02-27 13:19:29 +01:00
"lodash": "^4.17.21",
"playwright": "^1.34.3",
"prettier": "^2.8.8",
"pretty-quick": "^3.1.3",
"sinon": "^15.1.0",
"stylelint": "^15.6.2",
"stylelint-config-standard": "^33.0.0",
"stylelint-prettier": "^3.0.0",
2022-02-28 23:08:56 +01:00
"suncalc": "^1.9.0"
2020-05-11 21:59:45 +02:00
},
"optionalDependencies": {
"electron": "^24.4.0"
2020-05-11 21:59:45 +02:00
},
"dependencies": {
2020-09-19 12:25:11 +02:00
"colors": "^1.4.0",
"console-stamp": "^3.1.1",
"digest-fetch": "^2.0.3",
"envsub": "^4.1.0",
"eslint": "^8.41.0",
"express": "^4.18.2",
2022-08-07 23:17:24 +02:00
"express-ipfilter": "^1.3.1",
2020-12-11 11:09:52 +01:00
"feedme": "^2.0.2",
"helmet": "^7.0.0",
2021-05-29 13:32:24 +02:00
"iconv-lite": "^0.6.3",
"luxon": "^1.28.1",
2020-05-11 21:59:45 +02:00
"module-alias": "^2.2.2",
2022-08-07 23:17:24 +02:00
"moment": "^2.29.4",
"node-fetch": "^2.6.9",
"node-ical": "^0.16.0",
"socket.io": "^4.6.1"
2020-05-11 21:59:45 +02:00
},
"_moduleAliases": {
2021-02-18 19:14:53 +01:00
"node_helper": "js/node_helper.js",
"logger": "js/logger.js",
"fetch": "js/fetch.js"
2020-05-11 21:59:45 +02:00
},
2021-01-05 09:54:03 +01:00
"engines": {
"node": ">=16"
2020-05-11 21:59:45 +02:00
}
}