hardlounge/Gruntfile.js
2014-07-05 01:32:40 +02:00

35 lines
596 B
JavaScript

module.exports = function(grunt) {
var components = "";
var files = [
"./lib/**/*.js",
"./client/js/chat.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"]
);
};