habitica/Gruntfile.js

35 lines
704 B
JavaScript
Raw Normal View History

module.exports = function(grunt) {
grunt.initConfig({
cssmin: {
dist: {
options: {
report: 'gzip'
},
files: {
"dist/spritesheets.css": ["css/*.css"],
}
}
},
browserify: {
dist: {
src: ["script/index.js"],
dest: "dist/habitrpg-shared.js"
},
options: {
transform: ['coffeeify'],
2013-09-03 15:16:47 +00:00
//debug: true Huge data uri source map (400kb!)
}
}
});
// Load the plugin that provides the "uglify" task.
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-browserify');
// Default task(s).
grunt.registerTask('default', ['cssmin', 'browserify']);
};