You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On every commit it should ensure that package.json has also been modified.
Or it is better to create a tiny module that ensures that the package.json has been modified and committed. (it will run a git diff or something similar to ensure that the package.json is staged)
^ Then I can add it as a dev dependency and run it before running tests; or something.
The text was updated successfully, but these errors were encountered:
v0lkan
changed the title
add precommit checks.
ensure that package.json changes at every commit.
Jun 3, 2016
install https://github.com/observing/pre-commit as a dev dependency.
On every commit it should ensure that package.json has also been modified.
Or it is better to create a tiny module that ensures that the package.json has been modified and committed. (it will run a git diff or something similar to ensure that the package.json is staged)
^ Then I can add it as a dev dependency and run it before running tests; or something.
The text was updated successfully, but these errors were encountered: