2016-03-27 20:40:07 +02:00
|
|
|
{
|
2020-05-11 21:59:45 +02:00
|
|
|
"name": "magicmirror",
|
2021-04-01 14:36:50 +02:00
|
|
|
"version": "2.16.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": "echo \"Installing vendor files ...\n\" && cd vendor && npm install --loglevel=error",
|
|
|
|
"install-fonts": "echo \"Installing fonts ...\n\" && cd fonts && npm install --loglevel=error",
|
|
|
|
"postinstall": "npm run install-fonts && echo \"MagicMirror installation finished successfully! \n\"",
|
2021-06-11 22:14:57 +02:00
|
|
|
"test": "NODE_ENV=test jest -i --silent --forceExit",
|
|
|
|
"test:coverage": "NODE_ENV=test nyc --reporter=lcov --reporter=text jest -i --silent --forceExit",
|
|
|
|
"test:e2e": "NODE_ENV=test jest --selectProjects e2e -i --silent --forceExit",
|
|
|
|
"test:unit": "NODE_ENV=test jest --selectProjects unit --silent --forceExit",
|
2021-05-29 16:11:25 +02:00
|
|
|
"test:prettier": "prettier . --check",
|
2021-01-05 15:05:50 +01:00
|
|
|
"test:js": "eslint js/**/*.js modules/default/**/*.js clientonly/*.js serveronly/*.js translations/*.js vendor/*.js tests/**/*.js config/* --config .eslintrc.json --quiet",
|
2020-05-11 21:59:45 +02:00
|
|
|
"test:css": "stylelint css/main.css modules/default/**/*.css --config .stylelintrc.json",
|
2020-06-20 08:45:46 +02:00
|
|
|
"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",
|
2021-02-06 22:21:08 +01:00
|
|
|
"lint:js": "eslint js/**/*.js modules/default/**/*.js clientonly/*.js serveronly/*.js translations/*.js vendor/*.js tests/**/*.js config/* --config .eslintrc.json --fix",
|
2021-05-18 20:36:56 +02:00
|
|
|
"lint:css": "stylelint css/main.css modules/default/**/*.css --config .stylelintrc.json --fix",
|
2021-05-26 11:39:29 +02:00
|
|
|
"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",
|
|
|
|
"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": {
|
2021-05-04 20:22:09 +02:00
|
|
|
"eslint-config-prettier": "^8.3.0",
|
2021-05-29 13:32:24 +02:00
|
|
|
"eslint-plugin-jsdoc": "^35.0.0",
|
2021-04-17 10:28:25 +02:00
|
|
|
"eslint-plugin-prettier": "^3.4.0",
|
2020-10-23 02:05:13 +01:00
|
|
|
"express-basic-auth": "^1.2.0",
|
2021-05-18 20:36:56 +02:00
|
|
|
"husky": "^6.0.0",
|
2021-06-06 23:13:09 +02:00
|
|
|
"jest": "27.0.4",
|
2021-05-29 13:32:24 +02:00
|
|
|
"jsdom": "^16.6.0",
|
2021-02-27 13:19:29 +01:00
|
|
|
"lodash": "^4.17.21",
|
2020-07-09 20:29:38 +02:00
|
|
|
"nyc": "^15.1.0",
|
2021-05-18 20:36:56 +02:00
|
|
|
"prettier": "^2.3.0",
|
2020-10-23 02:05:13 +01:00
|
|
|
"pretty-quick": "^3.1.0",
|
2021-05-29 13:32:24 +02:00
|
|
|
"sinon": "^11.1.1",
|
2021-01-30 20:29:59 +01:00
|
|
|
"spectron": "^13.0.0",
|
2021-05-04 20:22:09 +02:00
|
|
|
"stylelint": "^13.13.1",
|
2020-06-20 08:33:19 +02:00
|
|
|
"stylelint-config-prettier": "^8.0.2",
|
2021-05-04 20:22:09 +02:00
|
|
|
"stylelint-config-standard": "^22.0.0",
|
2021-03-14 10:39:32 +01:00
|
|
|
"stylelint-prettier": "^1.2.0"
|
2020-05-11 21:59:45 +02:00
|
|
|
},
|
|
|
|
"optionalDependencies": {
|
2021-05-18 20:36:56 +02:00
|
|
|
"electron": "^11.4.7"
|
2020-05-11 21:59:45 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-09-19 12:25:11 +02:00
|
|
|
"colors": "^1.4.0",
|
2021-04-11 21:05:19 +02:00
|
|
|
"console-stamp": "^3.0.2",
|
2021-05-18 20:36:56 +02:00
|
|
|
"digest-fetch": "^1.2.0",
|
2021-05-29 13:32:24 +02:00
|
|
|
"eslint": "^7.27.0",
|
2020-09-19 12:25:11 +02:00
|
|
|
"express": "^4.17.1",
|
2021-04-11 21:05:19 +02:00
|
|
|
"express-ipfilter": "^1.2.0",
|
2020-12-11 11:09:52 +01:00
|
|
|
"feedme": "^2.0.2",
|
2021-05-04 20:22:09 +02:00
|
|
|
"helmet": "^4.6.0",
|
2021-05-29 13:32:24 +02:00
|
|
|
"iconv-lite": "^0.6.3",
|
2020-05-11 21:59:45 +02:00
|
|
|
"module-alias": "^2.2.2",
|
2020-10-23 02:05:13 +01:00
|
|
|
"moment": "^2.29.1",
|
2021-03-02 00:17:13 +01:00
|
|
|
"node-fetch": "^2.6.1",
|
2021-04-01 20:02:08 +02:00
|
|
|
"node-ical": "^0.13.0",
|
2021-05-18 20:36:56 +02:00
|
|
|
"simple-git": "^2.39.0",
|
|
|
|
"socket.io": "^4.1.2"
|
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"
|
2020-05-11 21:59:45 +02:00
|
|
|
},
|
2021-01-05 09:54:03 +01:00
|
|
|
"engines": {
|
2021-05-04 20:22:09 +02:00
|
|
|
"node": ">=12"
|
2021-06-06 23:13:09 +02:00
|
|
|
},
|
|
|
|
"jest": {
|
2021-06-10 00:24:08 +02:00
|
|
|
"verbose": true,
|
|
|
|
"projects": [
|
|
|
|
{
|
|
|
|
"displayName": "unit",
|
|
|
|
"testMatch": ["**/tests/unit/**/*.[jt]s?(x)"],
|
|
|
|
"moduleNameMapper": {
|
|
|
|
"node_helper": "<rootDir>/js/node_helper.js",
|
|
|
|
"logger": "<rootDir>/js/logger.js",
|
|
|
|
"moment-timezone": "<rootDir>/node_modules/moment-timezone/moment-timezone.js",
|
|
|
|
"moment": "<rootDir>/node_modules/moment/moment.js"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"displayName": "e2e",
|
|
|
|
"testMatch": ["**/tests/e2e/**/*.[jt]s?(x)"],
|
|
|
|
"testPathIgnorePatterns": ["<rootDir>/tests/e2e/modules/mocks", "<rootDir>/tests/e2e/global-setup.js"]
|
|
|
|
}
|
|
|
|
]
|
2020-05-11 21:59:45 +02:00
|
|
|
}
|
2016-09-08 15:14:00 -04:00
|
|
|
}
|