{"size": 665, "ext": "js", "max_stars_repo_path": "Gruntfile.js", "max_stars_repo_name": "edelbluth/django-omnibus", "max_stars_repo_stars_event_min_datetime": "2015-01-01T17:07:35.000Z", "max_stars_repo_stars_event_max_datetime": "2019-04-10T20:07:30.000Z", "max_issues_repo_path": "Gruntfile.js", "max_issues_repo_name": "edelbluth/django-omnibus", "max_issues_repo_issues_event_min_datetime": "2015-01-12T15:56:03.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-21T09:49:49.000Z", "max_forks_repo_path": "Gruntfile.js", "max_forks_repo_name": "radiosilence/django-omnibus", "max_forks_repo_forks_event_min_datetime": "2015-03-18T05:31:24.000Z", "max_forks_repo_forks_event_max_datetime": "2021-05-20T21:24:58.000Z"}
{"max_stars_count": 41, "max_issues_count": 10, "max_forks_count": 19, "avg_line_length": 17.5, "max_line_length": 44, "alphanum_fraction": 0.6330827068}
module.exports = function(grunt) {
	grunt.initConfig({
		pkg: grunt.file.readJSON('package.json')
	});

	grunt.loadTasks('resources/grunt-configs');

	grunt.registerTask(
		'validate',
		'Validate client code.',
		['jshint', 'jscs', 'lintspaces']
	);

	grunt.registerTask(
		'test',
		'Test client code.',
		['jasmine', 'shell:opencoverage']
	);

	grunt.registerTask(
		'build',
		'Create a bundled and minified version.',
		['requirejs', 'copy', 'clean', 'uglify']
	);

	grunt.registerTask(
		'doc',
		'Create a documentation',
		['jsdoc', 'shell:openjsdoc']
	);

	grunt.registerTask(
		'default',
		'Run all tasks.',
		['validate', 'test', 'build', 'doc']
	);
};
