{"size": 958, "ext": "js", "max_stars_repo_path": "Gruntfile.js", "max_stars_repo_name": "gruntjs-updater/grunt-angular-i18n-finder", "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": "gruntjs-updater/grunt-angular-i18n-finder", "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": "gruntjs-updater/grunt-angular-i18n-finder", "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": 21.2888888889, "max_line_length": 78, "alphanum_fraction": 0.5835073069}
/*
 * grunt-gettext-finder
 * https://github.com/alicoding/grunt-gettext-finder
 *
 * Copyright (c) 2014 Ali Al Dallal
 * Licensed under the MIT license.
 */

'use strict';

module.exports = function(grunt) {

  // Project configuration.
  grunt.initConfig({

    jshint: {
      all: [
        'Gruntfile.js',
        'tasks/*.js'
      ],
      options: {
        jshintrc: '.jshintrc',
      },
    },
    // Configuration to be run (and then tested).
    gettext_finder: {
      files: [ "tmp/views/*.html", "tmp/views/**/*.html" ],
      options: {
        pathToJSON: [ "tmp/locale/en_US/*.json" ],
        ignoreKeys: [ "Blah", "just a var key name", "what does the fox say"],
      },
    }
  });

  // Actually load this plugin's task(s).
  grunt.loadTasks('tasks');

  // These plugins provide necessary tasks.
  grunt.loadNpmTasks('grunt-contrib-jshint');

  // By default, lint.
  grunt.registerTask('default', ['jshint', 'gettext_finder']);

};
