first commit
This commit is contained in:
60
www/bower_components/bootstrap-rtl-ondemand/Gruntfile.js
vendored
Normal file
60
www/bower_components/bootstrap-rtl-ondemand/Gruntfile.js
vendored
Normal file
@@ -0,0 +1,60 @@
|
||||
module.exports = function(grunt) {
|
||||
"use strict";
|
||||
|
||||
// Project configuration
|
||||
grunt.initConfig({
|
||||
// Read package.json Metadata.
|
||||
pkg: grunt.file.readJSON('package.json'),
|
||||
banner: '/*******************************************************************************\n' +
|
||||
' * <%= pkg.name %> (version <%= pkg.version %>)\n' +
|
||||
' * Author: <%= pkg.author %>\n' +
|
||||
' * Created on: <%= grunt.template.today("mmmm dd,yyyy") %>\n' +
|
||||
' * Project: <%= pkg.name %>\n' +
|
||||
' * Copyright: Unlicensed Public Domain\n' +
|
||||
' *******************************************************************************/\n',
|
||||
less: {
|
||||
rtl: {
|
||||
options: {
|
||||
strictMath: true,
|
||||
cleancss: false,
|
||||
sourceMap: true,
|
||||
outputSourceFiles: true,
|
||||
sourceMapURL: '<%= pkg.name %>.css.map',
|
||||
sourceMapFilename: 'dist/css/<%= pkg.name %>.css.map'
|
||||
},
|
||||
files: {
|
||||
'dist/css/<%= pkg.name %>.css': 'less/bootstrap-rtl.less'
|
||||
}
|
||||
},
|
||||
minify: {
|
||||
options: {
|
||||
cleancss: true
|
||||
},
|
||||
files: {
|
||||
'dist/css/<%= pkg.name %>.min.css': 'dist/css/<%= pkg.name %>.css',
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
usebanner: {
|
||||
options: {
|
||||
position: 'top',
|
||||
banner: '<%= banner %>',
|
||||
linebreak: true
|
||||
|
||||
},
|
||||
files: {
|
||||
src: ['dist/css/<%= pkg.name %>.css',
|
||||
'dist/css/<%= pkg.name %>.min.css']
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
// Load uglify plugin
|
||||
grunt.loadNpmTasks('grunt-contrib-less');
|
||||
grunt.loadNpmTasks('grunt-banner');
|
||||
|
||||
// Default Task
|
||||
grunt.registerTask('default', ['less', 'usebanner']);
|
||||
};
|
||||
Reference in New Issue
Block a user