{"size": 1668, "ext": "js", "max_stars_repo_path": "ogamebotserver/src/main/resources/static/bower_components/ez-object2array/Gruntfile.js", "max_stars_repo_name": "RoYaL69/OGameBot", "max_stars_repo_stars_event_min_datetime": "2017-07-04T09:47:29.000Z", "max_stars_repo_stars_event_max_datetime": "2017-07-04T09:47:29.000Z", "max_issues_repo_path": "ogamebotserver/src/main/resources/static/bower_components/ez-object2array/Gruntfile.js", "max_issues_repo_name": "RoYaL69/OGameBot", "max_issues_repo_issues_event_min_datetime": "2021-12-10T01:40:09.000Z", "max_issues_repo_issues_event_max_datetime": "2021-12-14T21:46:44.000Z", "max_forks_repo_path": "ogamebotserver/src/main/resources/static/bower_components/ez-object2array/Gruntfile.js", "max_forks_repo_name": "unsupo/ogame", "max_forks_repo_forks_event_min_datetime": "2017-09-02T23:06:01.000Z", "max_forks_repo_forks_event_max_datetime": "2020-05-10T17:44:25.000Z"}
{"max_stars_count": 1, "max_issues_count": 5, "max_forks_count": 5, "avg_line_length": 21.6623376623, "max_line_length": 56, "alphanum_fraction": 0.4634292566}
'use_strict';

module.exports = function(grunt) {
  grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),
    bump: {
      options: {
        files: ['package.json', 'bower.json'],
        updateConfigs: [],
        commit: true,
        push: false,
        commitMessage: 'Release v%VERSION%',
        commitFiles: ['package.json', 'bower.json']
      }
    },
    jshint: {
      options: {
        curly: true,
        eqeqeq: true,
        eqnull: true,
        browser: true,
        globals: {
          jQuery: true
        },
      },
      src: {
        options: {
          node: true,
          globals: {
            it: true,
            beforeEach: true,
            expect: true,
            element: true,
            browser: true,
            module: true,
            spyOn: true,
            inject: true,
            repeater: true,
            describe: true,
            angular: true,
            jQuery: true
          }
        },
        files: {
          src: ['src/**/*.js', 'test/*.js']
        },
      }
    },
    karma: {
      unit: {
        configFile: 'karma.conf.js',
        singleRun: true
      }
    },
    uglify: {
      options: {
        mangle: true,
        compile: true,
        compress: true
      },
      dist: {
        files: {
          'dist/ez-object2array.min.js': ['src/**/*.js']
        }
      }
    }
  });

  grunt.loadNpmTasks('grunt-contrib-jshint');
  grunt.loadNpmTasks('grunt-contrib-uglify');
  grunt.loadNpmTasks('grunt-bump');
  grunt.loadNpmTasks('grunt-karma');

  grunt.registerTask('default', ['jshint', 'uglify']);
  grunt.registerTask('test', ['karma:unit:singleRun']);
};
