mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-30 16:18:20 +01:00
27 lines
772 B
JSON
27 lines
772 B
JSON
{
|
|
"name": "tldr",
|
|
"version": "1.0.0",
|
|
"description": "Simplified, community-driven man pages",
|
|
"dependencies": {
|
|
"glob": "7.1.3",
|
|
"markdownlint-cli": "0.15.0",
|
|
"tldr-lint": "~0.0.7",
|
|
"husky": "^2.2.0"
|
|
},
|
|
"scripts": {
|
|
"lint-markdown": "markdownlint pages*/**/*.md",
|
|
"lint-tldr": "tldr-lint ./pages",
|
|
"test": "bash -c 'markdownlint pages*/**/*.md && tldr-lint ./pages 2>&1 | tee test_result; test ${PIPESTATUS[0]} -eq 0'",
|
|
"build-index": "node ./scripts/build-index.js | tee pages/index.json > index.json"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm test"
|
|
}
|
|
},
|
|
"repository": "tldr-pages/tldr",
|
|
"author": "Romain Prieto",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"homepage": "http://tldr-pages.github.io"
|
|
}
|