mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
I was always unhappy when maintaining dependency updates to have 3 `package.json` files. This PR moves all deps into the main `package.json` and removes the folders `fonts` and `vendor`. If accepted I will update the docs too. --------- Co-authored-by: Kristjan ESPERANTO <35647502+KristjanESPERANTO@users.noreply.github.com>
15 lines
612 B
JavaScript
15 lines
612 B
JavaScript
const vendor = {
|
|
"moment.js": "node_modules/moment/min/moment-with-locales.js",
|
|
"moment-timezone.js": "node_modules/moment-timezone/builds/moment-timezone-with-data.js",
|
|
"weather-icons.css": "node_modules/weathericons/css/weather-icons.css",
|
|
"weather-icons-wind.css": "node_modules/weathericons/css/weather-icons-wind.css",
|
|
"font-awesome.css": "css/font-awesome.css",
|
|
"nunjucks.js": "node_modules/nunjucks/browser/nunjucks.min.js",
|
|
"suncalc.js": "node_modules/suncalc/suncalc.js",
|
|
"croner.js": "node_modules/croner/dist/croner.umd.js"
|
|
};
|
|
|
|
if (typeof module !== "undefined") {
|
|
module.exports = vendor;
|
|
}
|