You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
gzf/WebRoot/static/toastr-master/Gruntfile.js

36 lines
676 B

module.exports = function(grunt) {
grunt.initConfig({
less: {
dev: {
files: {
"toastr.css": "toastr.less"
}
},
prod: {
options: {
yuicompress: true
},
files: {
"toastr.min.css": "toastr.less"
}
}
},
uglify: {
prod: {
files: {
"toastr.min.js": "toastr.js"
}
}
},
qunit: {
all: ['tests/toastr-tests.html']
}
});
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-qunit');
grunt.registerTask('default', ['less', 'qunit', 'uglify']);
};