Files
docs/package.json
T
XhmikosR 09fe7564c1 Add linkinator to check for broken links.
Currently only checks for internal links because external links can break at any time. Also, there are hosts that block linkinator.
2020-06-04 11:39:24 +03:00

28 lines
742 B
JSON

{
"name": "docs",
"private": true,
"version": "1.0.0",
"description": "Source for the official Pi-hole documentation",
"main": "",
"repository": {
"type": "git",
"url": "git+https://github.com/pi-hole/docs.git"
},
"keywords": [],
"author": "",
"license": "CC-BY-SA-4.0",
"bugs": {
"url": "https://github.com/pi-hole/docs/issues"
},
"homepage": "https://docs.pi-hole.net/",
"scripts": {
"markdownlint": "markdownlint \"**/*.md\" -i \"**/node_modules/**\"",
"linkinator": "linkinator site --recurse --silent --skip \"^(?!http://localhost)\"",
"test": "npm run markdownlint && npm run linkinator"
},
"devDependencies": {
"linkinator": "^2.1.1",
"markdownlint-cli": "^0.23.1"
}
}