updating grunt with load grunt tasks

This commit is contained in:
Nelson Omuto 2014-10-03 11:13:28 -04:00
parent b2ddb5230e
commit a71fc7de74
6 changed files with 10 additions and 11 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2,6 +2,8 @@ module.exports = function(grunt) {
"use strict";
require('load-grunt-tasks')(grunt);
grunt.initConfig({
less: {
@ -37,7 +39,7 @@ module.exports = function(grunt) {
"css-compiled/material-wfont.css": "css-compiled/material-wfont.css",
"css-compiled/ripples.css": "css-compiled/ripples.css"
}
},
}
},
cssmin: {
@ -63,11 +65,7 @@ module.exports = function(grunt) {
}
});
grunt.loadNpmTasks("grunt-contrib-less");
grunt.loadNpmTasks("grunt-contrib-sass");
grunt.loadNpmTasks("grunt-autoprefixer");
grunt.loadNpmTasks("grunt-contrib-cssmin");
grunt.loadNpmTasks("grunt-contrib-copy");
grunt.registerTask("default", ["less", "autoprefixer", "cssmin", "copy"]);
grunt.registerTask("scss", ["sass", "autoprefixer", "cssmin", "copy"]);
};

View File

@ -22,6 +22,7 @@
"grunt-contrib-copy": "^0.6.0",
"grunt-contrib-cssmin": "^0.10.0",
"grunt-contrib-less": "^0.11.4",
"grunt-contrib-sass": "^0.8.1"
"grunt-contrib-sass": "^0.8.1",
"load-grunt-tasks": "^0.6.0"
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long