Fixed typos

pull/360/head
Abdullah Almsaeed 2015-04-15 19:07:57 -04:00
parent 777a93ddc4
commit bc4a25452e
1 changed files with 37 additions and 19 deletions

View File

@ -1,19 +1,14 @@
'use strict';
module.exports = function (grunt) {
// load all grunt tasks
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-includes');
grunt.initConfig({
watch: {
// if any .less file changes in directory "build/less/" run the "less"-task.
// If any .less file changes in directory "build/less/" run the "less"-task.
files: ["build/less/*.less", "build/less/skins/*.less", "dist/js/app.js"],
tasks: ["less", "uglify"]
},
// "less"-task configuration
//this task will compile all less files upon saving to create both AdminLTE.css and AdminLTE.min.css
// This task will compile all less files upon saving to create both AdminLTE.css and AdminLTE.min.css
less: {
// Development not compressed
development: {
@ -40,7 +35,7 @@ module.exports = function (grunt) {
"dist/css/skins/_all-skins.css": "build/less/skins/_all-skins.less"
}
},
//production compresses version
// Production compresses version
production: {
options: {
// Whether to compress or not
@ -88,11 +83,34 @@ module.exports = function (grunt) {
options: {
silent: true,
includePath: 'documentation/build/include'
//banner: '<!-- I am a banner <% includes.files.dest %> -->'
}
}
},
cssjanus: {
build: {
files: {
'dist/css/AdminLTE-rtl.css': 'dist/css/AdminLTE.css',
'dist/css/AdminLTE-rtl.min.css': 'dist/css/AdminLTE.min.css',
'bootstrap/css/bootstrap-rtl.css': 'bootstrap/css/bootstrap.css',
'bootstrap/css/bootstrap-rtl.min.css': 'bootstrap/css/bootstrap.min.css'
}
}
}
});
// the default task (running "grunt" in console) is "watch"
// Load all grunt tasks
// LESS Compiler
grunt.loadNpmTasks('grunt-contrib-less');
// Watch File Changes
grunt.loadNpmTasks('grunt-contrib-watch');
// Compress JS Files
grunt.loadNpmTasks('grunt-contrib-uglify');
// Include Files Within HTML
grunt.loadNpmTasks('grunt-includes');
// Convert CSS to RTL
grunt.loadNpmTasks('grunt-cssjanus');
// The default task (running "grunt" in console) is "watch"
grunt.registerTask('default', ['watch']);
};