{"size": 1551, "ext": "js", "max_stars_repo_path": "Gruntfile.js", "max_stars_repo_name": "AjanthaB/bilstrap", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "Gruntfile.js", "max_issues_repo_name": "AjanthaB/bilstrap", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "Gruntfile.js", "max_forks_repo_name": "AjanthaB/bilstrap", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 25.85, "max_line_length": 132, "alphanum_fraction": 0.524822695}

module.exports = function(grunt){
  grunt.initConfig({
    pkg: grunt.file.readJSON("package.json"),
    banner: '/*! <%= pkg.name %>' + '.com v:' + '<%= pkg.version %> ' + 'Date: ' + '<%= grunt.template.today("yyyy-mm-dd") %> */\n',
    jshint:{
      options:{
        reporter:require('jshint-stylish') // use jshint-stylish to make our errors look and read
      },
      build: ['Gruntfile.js', 'src/**/*.js']
    },
    uglify: {
      options: {
        banner: '<%= banner %>'
      },
      dist: {
        src: 'src/js/bilstrap.js',
        dest: 'js/bilstrap.min.js'
      },
    },
    less:{
      build:{
        files:{
          'src/css/bilstrap.css':"src/less/bilstrap.less"
        }
      }
    },
    concat: {
      options: {
        separator: ';'
      },
      dist: {
        src: ['src/css/bilstrap.css', 'vendor/css/normalize.css'],
        dest: 'css/bilstrap.css'
      }
    },
    cssmin: {
      compress: {
        options: {
          banner: '<%= banner %>'
        },
        files: {
          'css/bilstrap.min.css': ['css/bilstrap.css']
        }
      }
    },

  });

  grunt.registerTask('default', ['jshint', 'uglify', 'less', 'concat']);
  grunt.registerTask('prod', ['jshint', 'uglify', 'less', 'concat', 'cssmin:compress']);

  grunt.loadNpmTasks('grunt-contrib-jshint');
  grunt.loadNpmTasks('grunt-contrib-concat');
  grunt.loadNpmTasks('grunt-contrib-less');
  grunt.loadNpmTasks('grunt-contrib-uglify');
  grunt.loadNpmTasks('grunt-contrib-cssmin');
  grunt.loadNpmTasks('grunt-contrib-watch');
};
