1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00
tldr/package.json
Marco Bonelli c2051a0674 Replace npm test with a proper bash script
The npm test script was dirty and had the unneeded side effect of generating an
output file. This change moves the test to a real bash script that runs the
appropriate tests and also additional checks when ran from Travis CI during a PR
build.
2019-11-29 16:01:25 +00:00

27 lines
682 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 scripts/test.sh",
"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"
}