{"size": 787, "ext": "js", "max_stars_repo_path": "Gruntfile.js", "max_stars_repo_name": "dominicrann/Custom-JS-Libray", "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": "dominicrann/Custom-JS-Libray", "max_issues_repo_issues_event_min_datetime": "2019-06-19T01:36:29.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-09T04:05:27.000Z", "max_forks_repo_path": "Gruntfile.js", "max_forks_repo_name": "dominicrann61/Custom-JS-Libray", "max_forks_repo_forks_event_min_datetime": "2019-06-19T04:07:25.000Z", "max_forks_repo_forks_event_max_datetime": "2019-06-19T04:07:25.000Z"}
{"max_stars_count": null, "max_issues_count": 3, "max_forks_count": 1, "avg_line_length": 22.4857142857, "max_line_length": 80, "alphanum_fraction": 0.5489199492}
module.exports = function (grunt) {
	grunt.initConfig({
		// configuration
		concat: {
			js: {
				src: ['src/*.js'],
				dest: 'dist/scripts.js'
			}
		},
		uglify: {
			build: {
				files: [{
					src: 'dist/scripts.js',
					dest: 'dist/custom.js'
				}]
			}
		},
		run: {
			test: {
				exec: 'npm run test' // <-- use the exec key.
			},
			lint: {
				exec: 'npm run lint' // <-- use the exec key.
			}
		}
	});
	//load plugins
	grunt.loadNpmTasks('grunt-contrib-concat');
	grunt.loadNpmTasks('grunt-contrib-uglify');
	grunt.loadNpmTasks('grunt-run');
	// register tasks
	grunt.registerTask('js-concat', ['concat:js']);
	grunt.registerTask('test', ['run:test']);
	grunt.registerTask('default', ['run:lint','run:test', 'concat:js', 'uglify']);
};