Sindbad~EG File Manager

Current Path : /home/atdotid/posdemo.aturtoko.id/public/bower_components/jquery-form/
Upload File :
Current File : /home/atdotid/posdemo.aturtoko.id/public/bower_components/jquery-form/Gruntfile.js

module.exports = function(grunt) {
	grunt.initConfig({
		pkg: grunt.file.readJSON('package.json'),
		meta: {
			banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd HH:MM:ss") %> */'
		},

		githooks: {
			options: {
				hashbang: '#!/bin/sh',
				template: 'install/template/shell.hb',
				startMarker: '# GRUNT-GITHOOKS START',
				endMarker: '# GRUNT-GITHOOKS END'
			},
			all: {
				'pre-commit': 'pre-commit'
			}
		},

		eslint: {
			options: {
				quiet: true
			},
			target: ['src/**/*.js']
		},

		mocha: {
			all: {
				src: ['test/*.html'],
			},
			options: {
				run: true
			}
		},

		// Minifies JS files
		uglify: {
			options: {
				output: {
					comments: /^!|@preserve|@license|@cc_on/i
				},
				sourceMap: true,
				footer: '\n'
			},
			dist: {
				files: [{
					expand:	true,
					cwd:	'src',
					src:	['*.js','!*.min.js'],
					dest:	'dist',
					ext:	'.min.js',
					extDot:	'last'
				}]
			}
		}
	});

	// Load tasks
	grunt.loadNpmTasks('grunt-contrib-uglify');
	grunt.loadNpmTasks('grunt-mocha');
	grunt.loadNpmTasks('grunt-eslint');
	grunt.loadNpmTasks('grunt-githooks');

	// Default task.
	grunt.registerTask('lint', [ 'eslint' ]);
	grunt.registerTask('test', [ 'lint', 'mocha' ]);
	grunt.registerTask('pre-commit', [ 'test' ]);
	grunt.registerTask('default', [ 'test', 'uglify' ]);
};

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists