githooks.js 434 B

123456789101112131415
  1. module.exports = function (grunt, options) {
  2. return {
  3. install: {
  4. options: {
  5. template: '.githooks.js.hbs'
  6. },
  7. // Change to something else once the {{ hook }} variable can be used.
  8. // @see https://github.com/wecodemore/grunt-githooks/pull/40
  9. 'pre-commit': 'pre-commit',
  10. 'post-merge': 'post-merge',
  11. 'post-checkout': 'post-checkout',
  12. 'post-commit': 'post-commit'
  13. }
  14. };
  15. };