Add a way of checking for broken links
Intentionally not run as part of CI, as it's a little messy with state. It's more a manual check
This commit is contained in:
parent
4aecd0c78b
commit
43df6b6da4
3 changed files with 1288 additions and 0 deletions
1277
package-lock.json
generated
1277
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -7,6 +7,7 @@
|
||||||
},
|
},
|
||||||
"author": "Jake Howard <git@theorangeone.net>",
|
"author": "Jake Howard <git@theorangeone.net>",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"broken-link-checker-local": "0.2.1",
|
||||||
"envify": "4.1.0",
|
"envify": "4.1.0",
|
||||||
"eslint-config-dabapps": "4.0.0",
|
"eslint-config-dabapps": "4.0.0",
|
||||||
"markdown-spellcheck": "1.3.1",
|
"markdown-spellcheck": "1.3.1",
|
||||||
|
|
10
scripts/link-check.sh
Executable file
10
scripts/link-check.sh
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
source ./scripts/common.sh
|
||||||
|
|
||||||
|
blcl -fr public \
|
||||||
|
--exclude open.spotify.com \
|
||||||
|
--exclude scdn.co \
|
||||||
|
--exclude staticflickr.com
|
Loading…
Reference in a new issue