Skip to content

Instantly share code, notes, and snippets.

@gaby-mg
Created August 6, 2012 23:04
Show Gist options
  • Save gaby-mg/3279306 to your computer and use it in GitHub Desktop.
Save gaby-mg/3279306 to your computer and use it in GitHub Desktop.
JS: Grunt: Initial code
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
// Project metadata, used by some directives, helpers and tasks.
meta: {},
// Lists of files to be concatenated, used by the "concat" task.
concat: {},
// Lists of files to be linted with JSHint, used by the "lint" task.
lint: {},
// Lists of files to be minified with UglifyJS, used by the "min" task.
min: {},
// Lists of files or URLs to be unit tested with QUnit, used by the "qunit" task.
qunit: {},
// Configuration options for the "server" task.
server: {},
// Lists of files to be unit tested with Nodeunit, used by the "test" task.
test: {},
// Configuration options for the "watch" task.
watch: {},
// Global configuration options for JSHint.
jshint: {},
// Global configuration options for UglifyJS.
uglify: {}
});
// Default task
grunt.registerTask('default', //List of tasks );
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment