-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
18 lines (18 loc) · 877 Bytes
/
Copy pathpackage.json
File metadata and controls
18 lines (18 loc) · 877 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"devDependencies": {
"markdownlint-cli2": "^0.22.1",
"prettier": "^3.8.3"
},
"overrides": {
"js-yaml": "^4.1.0",
"markdown-it": "^14.1.1"
},
"scripts": {
"json:validate": "node -e \"require('fs').readdirSync('docs').filter(f => f.endsWith('.json')).forEach(f => { JSON.parse(require('fs').readFileSync('docs/' + f, 'utf8')); console.log('OK:', f); })\"",
"json:format": "prettier --write \"**/docs/*.json\" \"!**/node_modules/**\" \"!**/dist/**\" \"!**/build/**\"",
"markdown:format-check": "prettier --check \"docs/**/*.md\" \"!**/node_modules/**\" \"!**/dist/**\" \"!**/build/**\"",
"markdown:format": "prettier --write \"docs/**/*.md\" \"!**/node_modules/**\" \"!**/dist/**\" \"!**/build/**\"",
"markdown:lint-check": "markdownlint-cli2 \"docs/**/*.md\"",
"markdown:lint": "markdownlint-cli2 \"docs/**/*.md\" --fix"
}
}