If you are working with multiple git branches, you may have outdated dependencies because node modules are git ignored. A git diff for the lock file can check if npm dependencies were changed in a branch. Here is a simple post-merge git hook to automatically run npm install on git switch.
1 likes 1 replies
?