mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-25 11:04:09 +03:00
updating grunt with load grunt tasks
This commit is contained in:
parent
696fb505b2
commit
59a32cad83
2
css-compiled/material-wfont.min.css
vendored
2
css-compiled/material-wfont.min.css
vendored
File diff suppressed because one or more lines are too long
2
css-compiled/material.min.css
vendored
2
css-compiled/material.min.css
vendored
File diff suppressed because one or more lines are too long
10
gruntfile.js
10
gruntfile.js
|
@ -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"]);
|
||||
};
|
||||
|
|
|
@ -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
Loading…
Reference in New Issue
Block a user