Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ensure that package.json changes at every commit. #1

Open
v0lkan opened this issue Jun 3, 2016 · 0 comments
Open

ensure that package.json changes at every commit. #1

v0lkan opened this issue Jun 3, 2016 · 0 comments

Comments

@v0lkan
Copy link
Member

v0lkan commented 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.

@v0lkan v0lkan changed the title add precommit checks. ensure that package.json changes at every commit. Jun 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant