-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpackage.json
21 lines (21 loc) · 956 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"scripts": {
"lint-folder": "run-script-os",
"lint-folder:windows": "prettier --check %folderPath% && cspell lint %folderPath% --no-progress --no-summary --show-suggestions && python broken-link-checker.py %folderPath%",
"lint-folder:darwin:linux": "prettier --check \"$folderPath\" && cspell lint \"$folderPath\" --no-progress --no-summary --show-suggestions",
"lint-folder:fix": "run-script-os",
"lint-folder:fix:windows": "prettier --check --write %folderPath%",
"lint-folder:fix:darwin:linux": "prettier --check --write \"$folderPath\"",
"lint": "cross-env folderPath=\"**/*.md\" npm run lint-folder",
"lint:fix": "cross-env folderPath=\"**/*.md\" npm run lint-folder:fix",
"lint-changed:fix": "pretty-quick"
},
"devDependencies": {
"cross-env": "7.0.3",
"cspell": "8.0.0",
"markdown-link-check": "3.11.2",
"prettier": "3.4.2",
"pretty-quick": "4.0.0",
"run-script-os": "1.1.6"
}
}