-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
89 lines (89 loc) · 3.83 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "magicmirror-3rd-party-modules",
"version": "0.1.0",
"description": "This project provides an overview of all MagicMirror² modules and puts the modules through a few tests.",
"keywords": [
"MagicMirror²",
"Modules"
],
"homepage": "https://github.com/KristjanESPERANTO/MagicMirror-3rd-Party-Modules#readme",
"bugs": {
"url": "https://github.com/KristjanESPERANTO/MagicMirror-3rd-Party-Modules/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/KristjanESPERANTO/MagicMirror-3rd-Party-Modules"
},
"license": "MIT",
"author": {
"name": "Kristjan ESPERANTO",
"url": "https://github.com/KristjanESPERANTO"
},
"type": "module",
"main": "scripts/create_module_list.js",
"directories": {
"doc": "docs"
},
"scripts": {
"start": "ntl --autocomplete --size 50 --exclude start lint* prepare test automated",
"all": "npm run createModuleList && npm run updateGitHubData && npm run getModules && npm run expandModuleList && npm run checkModules",
"createModuleList": "node scripts/create_module_list.js",
"updateGitHubData": "node scripts/updateGitHubApiData.js",
"getModules": "python3 scripts/get_modules.py",
"expandModuleList": "node scripts/expand_module_list_with_repo_data.js",
"checkModules": "python3 scripts/check_modules.py",
"ownList": "node create_own_module_list.js && npm run updateGitHubData && npm run getModules && npm run expandModuleList && npm run checkModules",
"lint": "eslint && stylelint **/docs/*.css && markdownlint-cli2 README.md && prettier --check . && cspell .",
"lint:fix": "eslint --fix && stylelint **/docs/*.css --fix && markdownlint-cli2 README.md --fix && prettier . --write . && cspell .",
"prepare": "husky",
"test": "npm run lint",
"leaveMenu": "",
"automated": "git fetch origin main && git reset --hard origin/main && git pull && npm i && npm run all && python3 scripts/upload.py"
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.css": "stylelint **/docs/*.css --ignore-pattern **/docs/fonts/ --fix",
"*": "prettier --ignore-unknown --write"
},
"dependencies": {
"marked": "^15.0.6",
"normalize-package-data": "^7.0.0",
"npm-check-updates": "^17.1.14",
"npm-deprecated-check": "^1.3.0",
"ntl": "^5.1.0",
"sanitize-html": "^2.14.0",
"sharp": "^0.33.5"
},
"devDependencies": {
"@eslint/js": "^9.18.0",
"@eslint/json": "^0.10.0",
"@stylistic/eslint-plugin": "^2.13.0",
"cspell": "^8.17.2",
"eslint": "^9.18.0",
"eslint-plugin-depend": "^0.12.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-package-json": "^0.21.0",
"husky": "^9.1.7",
"lint-staged": "^15.4.2",
"markdownlint-cli2": "^0.17.2",
"prettier": "^3.4.2",
"stylelint": "^16.13.2",
"stylelint-config-standard": "^37.0.0",
"stylelint-prettier": "^5.0.2"
},
"ntl": {
"descriptions": {
"all": "Run all scripts (1 till 5) on all modules. Requires a lot of time and storage space!",
"createModuleList": "Script 1: Convert the official module list from the wiki into a json file.",
"updateGitHubData": "Script 2: Update the JSON file that collects the GitHub information of the modules.",
"getModules": "Script 3: Get all modules with `git cone`. Requires a lot of time and storage space!",
"expandModuleList": "Script 4: Extend the module list with information from the package.json. And get an image if one is available and the license is okay.",
"checkModules": "Script 5: Perform various checks on the modules.",
"ownList": "Test only defined modules. See README.",
"lint": "Check this repository for linter and formatting problems.",
"lint:fix": "Fix automatically fixable linter or formatting problems of this repository.",
"prepare": "husky",
"leaveMenu": "Leave this menu."
}
}
}