zerotohero-dev/generator-byte-sized-javascript

ensure that package.json changes at every commit.

Opened this issue · 0 comments

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.