mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
deps: update deps (#5411)
* deps: update deps
* chore: update husky from v2 format to v6 (really it's v4)
* move devDependencies below dependencies
* use package-lock.json (lockfile) format v2 (npm 7)
We are in the linter, see
b070d41be2/package-lock.json (L4)
This commit is contained in:
parent
a99a8d98d8
commit
72a714b700
4 changed files with 388 additions and 607 deletions
1
.husky/.gitignore
vendored
Normal file
1
.husky/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
_
|
4
.husky/pre-commit
Executable file
4
.husky/pre-commit
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npm test
|
973
package-lock.json
generated
973
package-lock.json
generated
File diff suppressed because it is too large
Load diff
17
package.json
17
package.json
|
@ -1,25 +1,24 @@
|
|||
{
|
||||
"name": "tldr-pages",
|
||||
"description": "Simplified and community-driven man pages",
|
||||
"author": "Romain Prieto",
|
||||
"license": "SEE LICENSE IN LICENSE.md",
|
||||
"repository": "tldr-pages/tldr",
|
||||
"homepage": "https://tldr.sh/",
|
||||
"dependencies": {
|
||||
"glob": "7.1.3",
|
||||
"husky": "^2.2.0",
|
||||
"markdownlint-cli": "0.19.0",
|
||||
"glob": "7.1.6",
|
||||
"markdownlint-cli": "0.27.1",
|
||||
"tldr-lint": "~0.0.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
"husky": "^6.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"lint-markdown": "markdownlint pages*/**/*.md",
|
||||
"lint-tldr-pages": "tldr-lint ./pages",
|
||||
"test": "bash scripts/test.sh",
|
||||
"build-index": "node ./scripts/build-index.js > index.json"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "npm test"
|
||||
}
|
||||
"build-index": "node ./scripts/build-index.js > index.json",
|
||||
"postinstall": "husky install"
|
||||
},
|
||||
"private": true
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue