hardlounge/Gruntfile.js
Mattias Erming f3f3858663 Render chat
2014-06-30 03:20:54 +02:00

35 lines
597 B
JavaScript

module.exports = function(grunt) {
var components = "";
var files = [
"./lib/**/*.js",
"./client/js/shout.js"
];
grunt.initConfig({
watch: {
files: files,
tasks: ["jshint"]
},
jshint: {
files: files
},
uglify: {
js: {
files: {
"client/js/components.min.js": [
"client/components/*.js",
"client/components/jquery/*.js"
]
}
}
}
});
["watch", "jshint", "uglify"]
.forEach(function(task) {
grunt.loadNpmTasks("grunt-contrib-" + task);
});
grunt.registerTask(
"default",
["uglify"]
);
};