fix: improve yarn lock scan, always run

This commit is contained in:
Joren Broekema 2020-01-09 16:36:06 +01:00
parent ad01e959c6
commit 151b7fb520
2 changed files with 1 additions and 4 deletions

View file

@ -1,6 +1,6 @@
module.exports = { module.exports = {
hooks: { hooks: {
'pre-commit': 'lint-staged', 'pre-commit': 'lint-staged && node ./scripts/yarn-lock-scan.js',
'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS', 'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS',
}, },
}; };

View file

@ -74,9 +74,6 @@
], ],
"*package.json": [ "*package.json": [
"node ./scripts/lint-versions.js" "node ./scripts/lint-versions.js"
],
"yarn.lock": [
"node ./scripts/yarn-lock-scan.js"
] ]
}, },
"bundlesize": [ "bundlesize": [