mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-13 22:48:31 -05:00
fix: husky hook to lint code before commit message
This commit is contained in:
parent
a3d084b737
commit
7d1ab390c1
2 changed files with 23 additions and 14 deletions
|
@ -97,7 +97,7 @@
|
|||
"friendly-errors-webpack-plugin": "1.6.1",
|
||||
"github-markdown-css": "2.10.0",
|
||||
"html-webpack-plugin": "2.30.1",
|
||||
"husky": "0.14.3",
|
||||
"husky": "0.15.0-rc.8",
|
||||
"identity-obj-proxy": "3.0.0",
|
||||
"in-publish": "2.0.0",
|
||||
"jest": "22.1.4",
|
||||
|
@ -176,7 +176,7 @@
|
|||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "yarn run lint"
|
||||
"pre-commit": "npm run lint"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
|
|
33
yarn.lock
33
yarn.lock
|
@ -3241,7 +3241,7 @@ exec-sh@^0.2.0:
|
|||
dependencies:
|
||||
merge "^1.1.3"
|
||||
|
||||
execa@0.9.0:
|
||||
execa@0.9.0, execa@^0.9.0:
|
||||
version "0.9.0"
|
||||
resolved "https://registry.npmjs.org/execa/-/execa-0.9.0.tgz#adb7ce62cf985071f60580deb4a88b9e34712d01"
|
||||
dependencies:
|
||||
|
@ -4265,13 +4265,18 @@ https-proxy-agent@^2.1.0:
|
|||
agent-base "^4.1.0"
|
||||
debug "^3.1.0"
|
||||
|
||||
husky@0.14.3:
|
||||
version "0.14.3"
|
||||
resolved "https://registry.npmjs.org/husky/-/husky-0.14.3.tgz#c69ed74e2d2779769a17ba8399b54ce0b63c12c3"
|
||||
husky@0.15.0-rc.8:
|
||||
version "0.15.0-rc.8"
|
||||
resolved "https://registry.npmjs.org/husky/-/husky-0.15.0-rc.8.tgz#b658c597a8f9bbcd00a5c039709e7c61e61238e7"
|
||||
dependencies:
|
||||
is-ci "^1.0.10"
|
||||
normalize-path "^1.0.0"
|
||||
strip-indent "^2.0.0"
|
||||
cosmiconfig "^4.0.0"
|
||||
execa "^0.9.0"
|
||||
is-ci "^1.1.0"
|
||||
pkg-dir "^2.0.0"
|
||||
pupa "^1.0.0"
|
||||
read-pkg "^3.0.0"
|
||||
run-node "^0.2.0"
|
||||
slash "^1.0.0"
|
||||
|
||||
iconv-lite@0.4.19, iconv-lite@^0.4.17, iconv-lite@~0.4.13:
|
||||
version "0.4.19"
|
||||
|
@ -4459,7 +4464,7 @@ is-callable@^1.1.1, is-callable@^1.1.3:
|
|||
version "1.1.3"
|
||||
resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.1.3.tgz#86eb75392805ddc33af71c92a0eedf74ee7604b2"
|
||||
|
||||
is-ci@^1.0.10:
|
||||
is-ci@^1.0.10, is-ci@^1.1.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.npmjs.org/is-ci/-/is-ci-1.1.0.tgz#247e4162e7860cebbdaf30b774d6b0ac7dcfe7a5"
|
||||
dependencies:
|
||||
|
@ -6120,10 +6125,6 @@ normalize-package-data@^2.3.0, normalize-package-data@^2.3.2, normalize-package-
|
|||
semver "2 || 3 || 4 || 5"
|
||||
validate-npm-package-license "^3.0.1"
|
||||
|
||||
normalize-path@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-1.0.0.tgz#32d0e472f91ff345701c15a8311018d3b0a90379"
|
||||
|
||||
normalize-path@^2.0.0, normalize-path@^2.0.1, normalize-path@^2.1.1:
|
||||
version "2.1.1"
|
||||
resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9"
|
||||
|
@ -7029,6 +7030,10 @@ punycode@^2.1.0:
|
|||
version "2.1.0"
|
||||
resolved "https://registry.npmjs.org/punycode/-/punycode-2.1.0.tgz#5f863edc89b96db09074bad7947bf09056ca4e7d"
|
||||
|
||||
pupa@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.npmjs.org/pupa/-/pupa-1.0.0.tgz#9a9568a5af7e657b8462a6e9d5328743560ceff6"
|
||||
|
||||
puppeteer@1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.npmjs.org/puppeteer/-/puppeteer-1.0.0.tgz#20f3bb6ad6c6778b4d1fb750e808a29fec0a88a4"
|
||||
|
@ -7692,6 +7697,10 @@ run-async@^2.2.0:
|
|||
dependencies:
|
||||
is-promise "^2.1.0"
|
||||
|
||||
run-node@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.npmjs.org/run-node/-/run-node-0.2.0.tgz#b26e942e94205dedbe532cddf0fd1dbd56649af6"
|
||||
|
||||
rx-lite-aggregates@^4.0.8:
|
||||
version "4.0.8"
|
||||
resolved "https://registry.npmjs.org/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz#753b87a89a11c95467c4ac1626c4efc4e05c67be"
|
||||
|
|
Loading…
Add table
Reference in a new issue