[Tests] Add `markdown-link-check` script
This uses the npm package `markdown-link-check` to check if all the links in the documentation are alive.
parent
53f9ba8336
commit
1afd4f3566
|
@ -19,7 +19,8 @@
|
|||
"doctoc:check": "diff -q README.md v-README.md.orig",
|
||||
"postdoctoc:check": "mv v-README.md.orig README.md",
|
||||
"eclint": "eclint check $(git ls-tree --name-only HEAD | xargs)",
|
||||
"dockerfile_lint": "dockerfile_lint"
|
||||
"dockerfile_lint": "dockerfile_lint",
|
||||
"markdown-link-check": "git ls-files | command grep -E '\\.md$' | xargs -n 1 markdown-link-check -p"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -42,6 +43,7 @@
|
|||
"dockerfile_lint": "^0.3.4",
|
||||
"doctoc": "^2.0.0",
|
||||
"eclint": "^2.8.1",
|
||||
"markdown-link-check": "^3.1.4",
|
||||
"replace": "^1.2.1",
|
||||
"semver": "^7.3.5",
|
||||
"urchin": "^0.0.5"
|
||||
|
|
Loading…
Reference in New Issue