All Projects → sindresorhus → Grunt Recess

sindresorhus / Grunt Recess

Licence: mit
[DEPRECATED] Lint and minify CSS and LESS

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
npmlint
[DEPRECATED] Lint your npm package
Stars: ✭ 57 (-72.2%)
Mutual labels:  lint, deprecated
Grunt Csswring
DEPRECATED. Minify CSS files using PostCSS-based CSSWring
Stars: ✭ 12 (-94.15%)
Mutual labels:  grunt, deprecated
Grunt Filerev
[DEPRECATED] File revving
Stars: ✭ 261 (+27.32%)
Mutual labels:  grunt, deprecated
Grunt Html
Grunt plugin for html validation
Stars: ✭ 165 (-19.51%)
Mutual labels:  grunt, lint
Parcel Plugin Typescript
🚨 Enhanced TypeScript support for Parcel
Stars: ✭ 176 (-14.15%)
Mutual labels:  lint
Woke
✊ Detect non-inclusive language in your source code.
Stars: ✭ 190 (-7.32%)
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
Box
[DEPRECATED] Official, pre-packaged Vagrant Box
Stars: ✭ 197 (-3.9%)
Mutual labels:  deprecated
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
My Wallet V3 Frontend
Blockchain Web Wallet Frontend
Stars: ✭ 192 (-6.34%)
Mutual labels:  grunt
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
Hexo Theme Laughing
A lightweight hexo theme
Stars: ✭ 185 (-9.76%)
Mutual labels:  grunt
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

Deprecated since RECESS is no longer maintained


grunt-recess Build Status

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].