Sha256: 67b8bc9d36edabca3e1397ec2090ba26fc7f311e1b29bdfdb060eb7a89c7c82f

Contents?: true

Size: 1.5 KB

Versions: 39

Compression:

Stored size: 1.5 KB

Contents

module.exports = function( grunt ) {
  'use strict';
  //
  // Grunt configuration:
  //
  // https://github.com/cowboy/grunt/blob/master/docs/getting_started.md
  //
  grunt.initConfig({
    // specifying JSHint options and globals
    // https://github.com/cowboy/grunt/blob/master/docs/task_lint.md#specifying-jshint-options-and-globals
    jshint: {
      options: {
        boss: true,
        browser: true,
        curly: true,
        eqeqeq: true,
        eqnull: true,
        immed: true,
        latedef: true,
        newcap: true,
        noarg: true,
        sub: true,
        undef: true,
        globals: {
          jasmine: false,
          module: false,
          exports: true,
          describe: false,
          it: false,
          expect: false,
          beforeEach: false,
          afterEach: false,
          spyOn: false,
          getJasmineRequireObj: false
        }
      },
      all: ['Gruntfile.js', 'src/**/*.js', 'lib/**/*.js', 'spec/**/*.js']
    },
    shell: {
      ctags: {
        command: 'ctags -R lib'
      }
    },
    concat: {
      mockAjax: {
        src: [
          'src/requireAjax.js',
          'src/**/*.js',
          '!src/boot.js',
          'src/boot.js'
        ],
        dest: 'lib/mock-ajax.js'
      }
    }
  });

  grunt.loadNpmTasks('grunt-contrib-jshint');
  grunt.loadNpmTasks('grunt-contrib-concat');
  grunt.loadNpmTasks('grunt-shell');

  grunt.registerTask('default', ['jshint']);
  grunt.registerTask('ctags', 'Generate ctags', ['shell:ctags']);
};

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
upjs-rails-0.11.0 spec_app/vendor/assets/bower_components/jasmine-ajax/Gruntfile.js
upjs-rails-0.10.5 spec_app/vendor/assets/bower_components/jasmine-ajax/Gruntfile.js
upjs-rails-0.10.4 spec_app/vendor/assets/bower_components/jasmine-ajax/Gruntfile.js
upjs-rails-0.10.3 spec_app/vendor/assets/bower_components/jasmine-ajax/Gruntfile.js
upjs-rails-0.10.2 spec_app/vendor/assets/bower_components/jasmine-ajax/Gruntfile.js
upjs-rails-0.10.1 spec_app/vendor/assets/bower_components/jasmine-ajax/Gruntfile.js
upjs-rails-0.10.0 spec_app/vendor/assets/bower_components/jasmine-ajax/Gruntfile.js
upjs-rails-0.9.1 spec_app/vendor/assets/bower_components/jasmine-ajax/Gruntfile.js
upjs-rails-0.9.0 spec_app/vendor/assets/bower_components/jasmine-ajax/Gruntfile.js
upjs-rails-0.8.2 spec_app/vendor/assets/bower_components/jasmine-ajax/Gruntfile.js
upjs-rails-0.8.1 spec_app/vendor/assets/bower_components/jasmine-ajax/Gruntfile.js
upjs-rails-0.8.0 spec_app/vendor/assets/bower_components/jasmine-ajax/Gruntfile.js
upjs-rails-0.7.8 spec_app/vendor/assets/bower_components/jasmine-ajax/Gruntfile.js
upjs-rails-0.7.7 spec_app/vendor/assets/bower_components/jasmine-ajax/Gruntfile.js
upjs-rails-0.7.6 spec_app/vendor/assets/bower_components/jasmine-ajax/Gruntfile.js
upjs-rails-0.7.5 spec_app/vendor/assets/bower_components/jasmine-ajax/Gruntfile.js
upjs-rails-0.7.4 spec_app/vendor/assets/bower_components/jasmine-ajax/Gruntfile.js
upjs-rails-0.7.3 spec_app/vendor/assets/bower_components/jasmine-ajax/Gruntfile.js
upjs-rails-0.7.2 spec_app/vendor/assets/bower_components/jasmine-ajax/Gruntfile.js
upjs-rails-0.7.1 spec_app/vendor/assets/bower_components/jasmine-ajax/Gruntfile.js