mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 12:02:13 +00:00
web, copy into habitrpg-shared, remove from those projects, remove regex css selectors (they weren't working), add crazy & monster skins
46 lines
No EOL
1 KiB
JavaScript
46 lines
No EOL
1 KiB
JavaScript
module.exports = function(grunt) {
|
|
|
|
grunt.initConfig({
|
|
cssmin: {
|
|
dist: {
|
|
options: {
|
|
report: 'gzip'
|
|
},
|
|
files: {
|
|
"dist/spritesheets.css": [
|
|
"css/Mounts.css",
|
|
"css/PetEggs.css",
|
|
"css/player_sprites.css",
|
|
"css/male_sprites.css",
|
|
"css/female_sprites.css",
|
|
"css/shop_sprites.css",
|
|
"css/pet_sprites.css",
|
|
"css/achievements.css",
|
|
"css/backer.css",
|
|
"css/customizer.css"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
|
|
browserify: {
|
|
dist: {
|
|
src: ["script/index.js"],
|
|
dest: "dist/habitrpg-shared.js"
|
|
},
|
|
options: {
|
|
transform: ['coffeeify']
|
|
//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']);
|
|
|
|
}; |