CSSO.
parent
cca310a4be
commit
240417698c
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -9,7 +9,7 @@ module.exports = function(grunt) {
|
|||
grunt.initConfig({
|
||||
cmpnt: grunt.file.readJSON('../component.json'),
|
||||
banner: '/*! Social Likes v<%= cmpnt.version %> by Artem Sapegin - ' +
|
||||
'http://sapegin.github.com/social-likes - Licensed MIT */',
|
||||
'http://sapegin.github.com/social-likes - Licensed MIT */\n',
|
||||
jshint: {
|
||||
options: {
|
||||
jshintrc: '.jshintrc'
|
||||
|
@ -39,6 +39,15 @@ module.exports = function(grunt) {
|
|||
}
|
||||
}
|
||||
},
|
||||
csso: {
|
||||
options: {
|
||||
banner: '<%= banner %>'
|
||||
},
|
||||
dist: {
|
||||
src: '../social-likes.css',
|
||||
dest: '../social-likes.css'
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
stylus: {
|
||||
files: 'styles/**',
|
||||
|
@ -53,6 +62,6 @@ module.exports = function(grunt) {
|
|||
}
|
||||
});
|
||||
|
||||
grunt.registerTask('default', ['jshint', 'uglify', 'imgo', 'stylus']);
|
||||
grunt.registerTask('default', ['jshint', 'uglify', 'imgo', 'stylus', 'csso']);
|
||||
|
||||
};
|
|
@ -8,6 +8,7 @@
|
|||
"grunt-contrib-watch": "~0.2.0",
|
||||
"grunt-contrib-stylus": "~0.4.0",
|
||||
"grunt-imgo": "~0.1.0",
|
||||
"grunt-csso": "~0.4.1",
|
||||
"matchdep": "~0.1.1"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue