Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Exemplo mínimo de Grunt.js pro blog da Caelum
module.exports = function(grunt) {
grunt.initConfig({
uglify: {
'build/teste.js': 'src/teste.js'
},
less: {
'build/estilo.css': ['src/*.less']
}
});
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-less');
grunt.registerTask('default', ['uglify', 'less']);
};
{
"name": "grunt-demo",
"version": "0.0.1",
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-less": "~0.6.0",
"grunt-contrib-uglify": "~0.2.2"
}
}

11313

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment