Gruntfile.js 524 B

1234567891011121314151617181920212223
  1. module.exports = function(grunt) {
  2. // Project configuration.
  3. grunt.initConfig({
  4. pkg: grunt.file.readJSON('package.json'),
  5. jshint: {
  6. all: [
  7. '*.js',
  8. 'app/lib/*',
  9. 'app/nodeControllers/*.js',
  10. 'app/public/scripts/*.js',
  11. 'phantomas_custom/**/*.js'
  12. ]
  13. }
  14. });
  15. require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
  16. grunt.registerTask('hint', ['jshint']);
  17. };