Gruntfile.js 669 B

123456789101112131415161718192021222324
  1. /**
  2. * Gruntfile
  3. *
  4. * This Node script is executed when you run `grunt`-- and also when
  5. * you run `sails lift` (provided the grunt hook is installed and
  6. * hasn't been disabled).
  7. *
  8. * WARNING:
  9. * Unless you know what you're doing, you shouldn't change this file.
  10. * Check out the `tasks/` directory instead.
  11. *
  12. * For more information see:
  13. * https://sailsjs.com/anatomy/Gruntfile.js
  14. */
  15. module.exports = function(grunt) {
  16. var loadGruntTasks = require('sails-hook-grunt/accessible/load-grunt-tasks');
  17. // Load Grunt task configurations (from `tasks/config/`) and Grunt
  18. // task registrations (from `tasks/register/`).
  19. loadGruntTasks(__dirname, grunt);
  20. };