|
25 | 25 | "main": "js/electron.js", |
26 | 26 | "scripts": { |
27 | 27 | "config:check": "node js/check_config.js", |
28 | | - "install-fonts": "echo \"Installing fonts ...\n\" && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier", |
29 | 28 | "install-mm": "npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev", |
30 | 29 | "install-mm:dev": "npm install --no-audit --no-fund --no-update-notifier", |
31 | 30 | "install-vendor": "echo \"Installing vendor files ...\n\" && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier", |
32 | | - "lint:css": "stylelint 'css/main.css' 'fonts/*.css' 'modules/default/**/*.css' 'vendor/*.css' --fix", |
| 31 | + "lint:css": "stylelint 'css/main.css' 'css/roboto.css' 'modules/default/**/*.css' 'vendor/*.css' --fix", |
33 | 32 | "lint:js": "eslint --fix", |
34 | 33 | "lint:markdown": "markdownlint-cli2 . --fix", |
35 | 34 | "lint:prettier": "prettier . --write", |
36 | | - "postinstall": "node --run install-vendor && node --run install-fonts && echo \"MagicMirror² installation finished successfully! \n\"", |
| 35 | + "postinstall": "node --run install-vendor && echo \"MagicMirror² installation finished successfully! \n\"", |
37 | 36 | "prepare": "[ -f node_modules/.bin/husky ] && husky || echo no husky installed.", |
38 | 37 | "server": "node ./serveronly", |
39 | 38 | "start": "node --run start:x11", |
|
47 | 46 | "test": "NODE_ENV=test jest -i --forceExit", |
48 | 47 | "test:calendar": "node ./modules/default/calendar/debug.js", |
49 | 48 | "test:coverage": "NODE_ENV=test jest --coverage -i --verbose false --forceExit", |
50 | | - "test:css": "stylelint 'css/main.css' 'fonts/*.css' 'modules/default/**/*.css' 'vendor/*.css'", |
| 49 | + "test:css": "stylelint 'css/main.css' 'css/roboto.css' 'modules/default/**/*.css' 'vendor/*.css'", |
51 | 50 | "test:e2e": "NODE_ENV=test jest --selectProjects e2e -i --forceExit", |
52 | 51 | "test:electron": "NODE_ENV=test jest --selectProjects electron -i --forceExit", |
53 | 52 | "test:js": "eslint", |
|
62 | 61 | "*.css": "stylelint --fix" |
63 | 62 | }, |
64 | 63 | "dependencies": { |
| 64 | + "@fontsource/roboto": "^5.2.5", |
| 65 | + "@fontsource/roboto-condensed": "^5.2.5", |
65 | 66 | "ajv": "^8.17.1", |
66 | 67 | "console-stamp": "^3.1.2", |
67 | 68 | "envsub": "^4.1.0", |
|
0 commit comments