{"size": 1922, "ext": "js", "max_stars_repo_path": "grunt.js", "max_stars_repo_name": "stevoland/ghetto-shadow", "max_stars_repo_stars_event_min_datetime": "2018-02-14T14:07:35.000Z", "max_stars_repo_stars_event_max_datetime": "2018-02-14T14:07:35.000Z", "max_issues_repo_path": "grunt.js", "max_issues_repo_name": "stevoland/ghetto-shadow", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "grunt.js", "max_forks_repo_name": "stevoland/ghetto-shadow", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 20.4468085106, "max_line_length": 83, "alphanum_fraction": 0.5156087409}
module.exports = function(grunt) {

	// Project configuration.
	grunt.initConfig({
		pkg: '<json:package.json>',
		meta: {
			banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
				'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
				'<%= pkg.homepage ? "* " + pkg.homepage + "\n" : "" %>' +
				'* Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>;' +
				' Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %> */'
		},
		concat: {
			dist: {
				src: ['public/client.js', 'lib/main.js'],
				dest: 'public/shadow.js'
			}
		},
		min: {
			dist: {
				src: ['<banner:meta.banner>', '<config:concat.dist.dest>'],
				dest: 'public/shadow.min.js'
			}
		},
		test: {
			files: ['test/**/*.js']
		},
		lint: {
			files: ['grunt.js', 'lib/**/*.js', 'test/**/*.js']
		},
		watch: {
			files: '<config:lint.files>',
			tasks: 'lint test'
		},
		jshint: {
			options: {
				curly: true,
				eqeqeq: true,
				immed: true,
				latedef: true,
				newcap: true,
				noarg: true,
				sub: true,
				undef: true,
				boss: true,
				eqnull: true,
				smarttabs: true,
				browser: true
			},
			globals: {
				console: true,
				define: true,
				require: true,
				exports: true,
				module: false,
				io: false
			}
		},
		requirejs: {
			almond: true,
			appDir: './lib',
			baseUrl: '.',
			dir: 'public',
			paths: {
				'URL': '../vendor/URL',
				'DOMTrigger': '../vendor/DOMTrigger',
				'CSSelector': '../vendor/CSSelector',
				'cookie': '../vendor/cookie',
				'event': '../vendor/event',
				'domready': '../vendor/domready',
				'Sizzle': '../vendor/sizzle',
				'type': '../vendor/type',
				'each': '../vendor/each'
			},
			modules: [
				{
					name: 'client'
				}
			],
			optimize: "none",
			cjsTranslate: true,
			shim: {
				'Sizzle': []
			}
		}
	});

	grunt.loadNpmTasks('grunt-requirejs');

	// Default task.
	grunt.registerTask('default', 'lint requirejs concat min');

};
