|
|
{ "name": "grunt-contrib-less", "description": "Compile LESS files to CSS.", "version": "0.5.1", "homepage": "https://github.com/gruntjs/grunt-contrib-less", "author": { "name": "Grunt Team", "url": "http://gruntjs.com/" }, "repository": { "type": "git", "url": "git://github.com/gruntjs/grunt-contrib-less.git" }, "bugs": { "url": "https://github.com/gruntjs/grunt-contrib-less/issues" }, "licenses": [ { "type": "MIT", "url": "https://github.com/gruntjs/grunt-contrib-less/blob/master/LICENSE-MIT" } ], "main": "Gruntfile.js", "engines": { "node": ">= 0.8.0" }, "scripts": { "test": "grunt test" }, "dependencies": { "less": "~1.3.0" }, "devDependencies": { "grunt-contrib-jshint": "~0.2.0", "grunt-contrib-nodeunit": "~0.1.2", "grunt-contrib-clean": "~0.4.0", "grunt-contrib-internal": "~0.4.2", "grunt": "~0.4.0" }, "peerDependencies": { "grunt": "~0.4.0" }, "keywords": [ "gruntplugin" ], "contributors": [ { "name": "Tyler Kellen", "url": "http://goingslowly.com/" }, { "name": "\"Cowboy\" Ben Alman", "url": "http://benalman.com/" }, { "name": "Chris Talkington", "url": "http://christalkington.com/" }, { "name": "Teddy Cross", "url": "http://tkaz.ec/" }, { "name": "Justin Searls", "url": "http://about.me/searls/" }, { "name": "Thomas Boyt", "url": "http://www.thomasboyt.com/" }, { "name": "Jake Harding", "url": "http://thejakeharding.com/" }, { "name": "Jason Karns", "url": "http://jasonkarns.com/" } ], "readme": "# grunt-contrib-less [![Build Status](https://secure.travis-ci.org/gruntjs/grunt-contrib-less.png?branch=master)](http://travis-ci.org/gruntjs/grunt-contrib-less)\n\n> Compile LESS files to CSS.\n\n\n\n## Getting Started\nThis plugin requires Grunt `~0.4.0`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-contrib-less --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-contrib-less');\n```\n\n*This plugin was designed to work with Grunt 0.4.x. If you're still using grunt v0.3.x it's strongly recommended that [you upgrade](http://gruntjs.com/upgrading-from-0.3-to-0.4), but in case you can't please use [v0.3.2](https://github.com/gruntjs/grunt-contrib-less/tree/grunt-0.3-stable).*\n\n\n## Less task\n_Run this task with the `grunt less` command._\n\nTask targets, files and options may be specified according to the grunt [Configuring tasks](http://gruntjs.com/configuring-tasks) guide.\n### Options\n\n#### paths\nType: `String|Array`\nDefault: Directory of input file.\n\nSpecifies directories to scan for @import directives when parsing. Default value is the directory of the source, which is probably what you want.\n\n#### compress\nType: `Boolean`\nDefault: False\n\nCompress output by removing some whitespaces.\n\n#### yuicompress\nType: `Boolean`\nDefault: False\n\nCompress output using cssmin.js\n\n#### optimization\nType: `Integer`\nDefault: null\n\nSet the parser's optimization level. The lower the number, the less nodes it will create in the tree. This could matter for debugging, or if you want to access the individual nodes in the tree.\n\n#### strictImports\nType: `Boolean`\nDefault: False\n\nForce evaluation of imports.\n\n#### dumpLineNumbers\nType: `String`\nDefault: false\n\nConfigures -sass-debug-info support.\n\nAccepts following values: `comments`, `mediaquery`, `all`.\n\n### Usage Examples\n\n```js\nless: {\n development: {\n options: {\n paths: [\"assets/css\"]\n },\n files: {\n \"path/to/result.css\": \"path/to/source.less\"\n }\n },\n production: {\n options: {\n paths: [\"assets/css\"],\n yuicompress: true\n },\n files: {\n \"path/to/result.css\": \"path/to/source.less\"\n }\n }\n}\n```\n\n## Release History\n\n * 2013-04-24 v0.5.1 Gracefully handle configuration without sources\n * 2013-02-14 v0.5.0 First official release for Grunt 0.4.0.\n * 2013-01-22 v0.5.0rc7 Updating grunt/gruntplugin dependencies to rc7. Changing in-development grunt/gruntplugin dependency versions from tilde version ranges to specific versions. Remove experimental wildcard destination support. Switching to this.files api.\n * 2012-10-17 v0.3.2 Add support for dumpLineNumbers.\n * 2012-10-11 v0.3.1 Rename grunt-contrib-lib dep to grunt-lib-contrib.\n * 2012-09-23 v0.3.0 Global options depreciated Revert normalize linefeeds.\n * 2012-09-15 v0.2.2 Support all less options Normalize linefeeds Default path to dirname of src file.\n * 2012-09-09 v0.2.0 Refactored from grunt-contrib into individual repo.\n\n---\n\nTask submitted by [Tyler Kellen](http://goingslowly.com/)\n\n*This file was generated on Thu Apr 25 2013 09:47:05.*\n", "readmeFilename": "README.md", "_id": "grunt-contrib-less@0.5.1", "_from": "grunt-contrib-less@" }
|