1
Fork 0

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:
Jake Howard 2019-11-01 23:18:23 +00:00
parent 4aecd0c78b
commit 43df6b6da4
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 1288 additions and 0 deletions

1277
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -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
View 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