gruntfile.js 677 B

1234567891011121314151617181920212223242526272829303132
  1. /* jshint node: true */
  2. 'use strict';
  3. module.exports = function( grunt ) {
  4. // First register the "default" task, so it can be analized by other tasks.
  5. grunt.registerTask( 'default', [ 'jshint:git', 'jscs:git' ] );
  6. // Basic configuration, which will be overloaded by the tasks.
  7. grunt.initConfig( {
  8. pkg: grunt.file.readJSON( 'package.json' ),
  9. jshint: {
  10. options: {
  11. ignores: [
  12. // Automatically loaded from .gitignore. Add more if necessary.
  13. ]
  14. }
  15. },
  16. jscs: {
  17. options: {
  18. excludeFiles: [
  19. // Automatically loaded from .gitignore. Add more if necessary.
  20. ]
  21. }
  22. }
  23. } );
  24. // Finally load the tasks.
  25. grunt.loadTasks( 'dev/tasks' );
  26. };