-
-
Notifications
You must be signed in to change notification settings - Fork 65
/
Copy pathpackage.json
16 lines (16 loc) · 809 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
"devDependencies": {
"markdownlint-cli": "^0.26.0",
"textlint": "^11.6.3",
"textlint-filter-rule-comments": "^1.2.2",
"textlint-filter-rule-whitelist": "^2.0.0",
"textlint-rule-terminology": "^2.1.4"
},
"scripts": {
"test": "npm run lint-markdown && npm run lint-terminology",
"lint-terminology": "textlint ./README.md",
"lint-markdown": "markdownlint ./README.md --ignore node_modules",
"link-check": find . -name README.md -exec markdown-link-check -c markdown-link-check-config.json 1> log 2> err {} \\;
// "link-check": "find README -name \\*.md -exec markdown-link-check -c markdown-link-check-config.json 1> log 2> err {} \\; && if [ -e err ] && grep -q \"ERROR:\" err ; then exit 113 ; else echo -e \"All good\"; fi"
}
}