Bones/Gruntfile.js
WhatsNewSaes 43c19e5d00 Adds LESS Version of Skeleton
GRID:
- Added LESS logic so that grid columns are calculated from the total
width of the container

VARIABLES:
Hooked up color variables to fonts, buttons, border, backgrounds

BREAKPOINTS:
defined breakpoints by variables.

GRUNT:
Grunt will watch the less file and any time there is a change saved it
will compile to the css/skeleton.css file.
2014-12-10 23:08:55 -05:00

34 lines
906 B
JavaScript

module.exports = function(grunt) {
grunt.initConfig({
less: {
development: {
options: {
compress: false,
cleancss: false,
optimization: 2,
dumpLineNumbers: 'false'
},
files: {
"css/skeleton.css": "less/skeleton.less"
}
}
},
watch: {
options: {
livereload: false,
},
styles: {
files: ['less/**/*.less'], // which files to watch
tasks: ['less'],
options: {
nospawn: true
}
}
}
});
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('default', ['less', 'watch']);
};