sindresorhus / Grunt Recess
Licence: mit
[DEPRECATED] Lint and minify CSS and LESS
Stars: ✭ 205
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Grunt Recess
Time Grunt
Display the elapsed execution time of grunt tasks
Stars: ✭ 531 (+159.02%)
Mutual labels: grunt, deprecated
Grunt Csswring
DEPRECATED. Minify CSS files using PostCSS-based CSSWring
Stars: ✭ 12 (-94.15%)
Mutual labels: grunt, deprecated
Parcel Plugin Typescript
🚨 Enhanced TypeScript support for Parcel
Stars: ✭ 176 (-14.15%)
Mutual labels: lint
Django Mailchimp
DEPRECATED, this project is no longer maintained, see README for more information.
Stars: ✭ 172 (-16.1%)
Mutual labels: deprecated
Retour
DEPRECATED Retour allows you to intelligently redirect legacy URLs, so that you don't lose SEO value when rebuilding & restructuring a website.
Stars: ✭ 172 (-16.1%)
Mutual labels: deprecated
Grunt Image
Optimize PNG, JPEG, GIF, SVG images with grunt task.
Stars: ✭ 201 (-1.95%)
Mutual labels: grunt
Laravel Angular
(deprecated) Laravel & Angular package
Stars: ✭ 187 (-8.78%)
Mutual labels: deprecated
Node Airbrake
node-airbrake is no longer maintained. Please visit https://airbrake.io/docs/performance-monitoring/updating-from-deprecated-libraries-for-node/
Stars: ✭ 179 (-12.68%)
Mutual labels: deprecated
Rxloader
DEPRECATED data loading solution for android to load data with no memory leaks, no boiler-plate, and no method count bloat
Stars: ✭ 174 (-15.12%)
Mutual labels: deprecated
Add And Commit
Add & commit files from a path directly from GitHub Actions
Stars: ✭ 198 (-3.41%)
Mutual labels: lint
Gulp Traceur
Traceur is a JavaScript.next to JavaScript-of-today compiler
Stars: ✭ 172 (-16.1%)
Mutual labels: deprecated
Terraintoolsamples
Unity has archived the TerrainToolSamples repository. For future development, please use the Terrain Tools package.
Stars: ✭ 195 (-4.88%)
Mutual labels: deprecated
Let Er
DEPRECATED: Transpile non-ES6 let-blocks into ES6 (or ES3)
Stars: ✭ 183 (-10.73%)
Mutual labels: deprecated
no longer maintained
Deprecated since RECESS isgrunt-recess
Lint and minify CSS and LESS using RECESS
Issues with the output should be reported on the RECESS issue tracker.
Install
$ npm install --save-dev grunt-recess
Usage
Lint
require('load-grunt-tasks')(grunt); // npm install --save-dev load-grunt-tasks
grunt.initConfig({
recess: {
dist: {
src: ['src/main.css']
}
}
});
grunt.registerTask('default', ['recess']);
Lint and compile
recess: {
dist: {
options: {
compile: true
},
files: {
'dist/main.css': 'src/main.less'
}
}
}
A destination is only needed when compile: true
. It won't output any warnings in this mode.
You can also specify .less
files and they will be compiled.
Options
// Default
compile: false // Compiles CSS or LESS. Fixes white space and sort order.
compress: false // Compress your compiled code
noIDs: true // Doesn't complain about using IDs in your stylesheets
noJSPrefix: true // Doesn't complain about styling .js- prefixed classnames
noOverqualifying: true // Doesn't complain about overqualified selectors (ie: div#foo.bar)
noUnderscores: true // Doesn't complain about using underscores in your class names
noUniversalSelectors: true // Doesn't complain about using the universal * selector
prefixWhitespace: true // Adds whitespace prefix to line up vender prefixed properties
strictPropertyOrder: true // Complains if not strict property order
zeroUnits: true // Doesn't complain if you add units to values of 0
includePath: mixed // Additional paths to look for `@import`'ed LESS files. Accepts a string or an array of strings.
License
MIT © Sindre Sorhus
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].