Use NodeJS NPM package markdownlint instead of Ruby gem mdl

This commit is contained in:
Igor Shubovych
2016-01-19 21:44:37 +02:00
parent 5f6b09b04b
commit 72196b030d
13 changed files with 97 additions and 120 deletions

29
package.json Normal file
View File

@@ -0,0 +1,29 @@
{
"name": "tldr",
"version": "1.0.0",
"description": "Simplified, community-driven man pages",
"dependencies": {
"glob": "^6.0.4",
"markdownlint-cli": "^0.0.2",
"tldr-lint": "^0.0.7",
"husky": "^0.10.2"
},
"scripts": {
"precommit": "npm test",
"lint-markdown": "markdownlint pages/**/*.md",
"lint-tldr": "tldr-lint ./pages",
"test": "markdownlint pages/**/*.md && tldr-lint ./pages",
"build-index": "node ./scripts/build-index.js > pages/index.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tldr-pages/tldr.git"
},
"author": "Romain Prieto",
"private": true,
"license": "MIT",
"bugs": {
"url": "https://github.com/tldr-pages/tldr/issues"
},
"homepage": "http://tldr-pages.github.io"
}