added sync-npm-dependencies script and hooks
This commit is contained in:
parent
950872109e
commit
6576e4a74c
2 changed files with 11 additions and 1 deletions
|
@ -35,7 +35,8 @@
|
|||
"hooks": {
|
||||
"pre-commit": "lint-staged",
|
||||
"pre-push": "npm test",
|
||||
"post-merge": "npm install"
|
||||
"post-merge": "scripts/sync-npm-dependencies.sh",
|
||||
"post-checkout": "scripts/sync-npm-dependencies.sh"
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue