[484] | 1 | { |
---|
| 2 | "name": "grunt-contrib-less", |
---|
| 3 | "description": "Compile LESS files to CSS.", |
---|
| 4 | "version": "0.6.5", |
---|
| 5 | "homepage": "https://github.com/gruntjs/grunt-contrib-less", |
---|
| 6 | "author": { |
---|
| 7 | "name": "Grunt Team", |
---|
| 8 | "url": "http://gruntjs.com/" |
---|
| 9 | }, |
---|
| 10 | "repository": { |
---|
| 11 | "type": "git", |
---|
| 12 | "url": "git://github.com/gruntjs/grunt-contrib-less.git" |
---|
| 13 | }, |
---|
| 14 | "bugs": { |
---|
| 15 | "url": "https://github.com/gruntjs/grunt-contrib-less/issues" |
---|
| 16 | }, |
---|
| 17 | "licenses": [ |
---|
| 18 | { |
---|
| 19 | "type": "MIT", |
---|
| 20 | "url": "https://github.com/gruntjs/grunt-contrib-less/blob/master/LICENSE-MIT" |
---|
| 21 | } |
---|
| 22 | ], |
---|
| 23 | "main": "Gruntfile.js", |
---|
| 24 | "engines": { |
---|
| 25 | "node": ">= 0.8.0" |
---|
| 26 | }, |
---|
| 27 | "scripts": { |
---|
| 28 | "test": "grunt test" |
---|
| 29 | }, |
---|
| 30 | "dependencies": { |
---|
| 31 | "less": "~1.4.0", |
---|
| 32 | "grunt-lib-contrib": "~0.6.1" |
---|
| 33 | }, |
---|
| 34 | "devDependencies": { |
---|
| 35 | "grunt-contrib-jshint": "~0.6.2", |
---|
| 36 | "grunt-contrib-nodeunit": "~0.2.0", |
---|
| 37 | "grunt-contrib-clean": "~0.5.0", |
---|
| 38 | "grunt-contrib-internal": "~0.4.5", |
---|
| 39 | "grunt": "~0.4.0" |
---|
| 40 | }, |
---|
| 41 | "peerDependencies": { |
---|
| 42 | "grunt": "~0.4.0" |
---|
| 43 | }, |
---|
| 44 | "keywords": [ |
---|
| 45 | "gruntplugin" |
---|
| 46 | ], |
---|
| 47 | "contributors": [ |
---|
| 48 | { |
---|
| 49 | "name": "Tyler Kellen", |
---|
| 50 | "url": "http://goingslowly.com/" |
---|
| 51 | }, |
---|
| 52 | { |
---|
| 53 | "name": "\"Cowboy\" Ben Alman", |
---|
| 54 | "url": "http://benalman.com/" |
---|
| 55 | }, |
---|
| 56 | { |
---|
| 57 | "name": "Chris Talkington", |
---|
| 58 | "url": "http://christalkington.com/" |
---|
| 59 | }, |
---|
| 60 | { |
---|
| 61 | "name": "Teddy Cross", |
---|
| 62 | "url": "http://tkaz.ec/" |
---|
| 63 | }, |
---|
| 64 | { |
---|
| 65 | "name": "Justin Searls", |
---|
| 66 | "url": "http://about.me/searls/" |
---|
| 67 | }, |
---|
| 68 | { |
---|
| 69 | "name": "Thomas Boyt", |
---|
| 70 | "url": "http://www.thomasboyt.com/" |
---|
| 71 | }, |
---|
| 72 | { |
---|
| 73 | "name": "Jake Harding", |
---|
| 74 | "url": "http://thejakeharding.com/" |
---|
| 75 | }, |
---|
| 76 | { |
---|
| 77 | "name": "Jason Karns", |
---|
| 78 | "url": "http://jasonkarns.com/" |
---|
| 79 | } |
---|
| 80 | ], |
---|
| 81 | "readme": "# grunt-contrib-less [](https://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#### ieCompat\nType: `Boolean`\nDefault: true\n\nEnforce the css output is compatible with Internet Explorer 8.\n\nFor example, the [data-uri](https://github.com/cloudhead/less.js/pull/1086) function encodes a file in base64 encoding and embeds it into the generated CSS files as a data-URI. Because Internet Explorer 8 limits `data-uri`s to 32KB, the [ieCompat](https://github.com/cloudhead/less.js/pull/1190) option prevents `less` from exceeding this.\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#### syncImport\nType: `Boolean`\nDefault: False\n\nRead @import'ed files synchronously from disk.\n\n#### dumpLineNumbers\nType: `String`\nDefault: false\n\nConfigures -sass-debug-info support.\n\nAccepts following values: `comments`, `mediaquery`, `all`.\n\n#### relativeUrls\nType: `boolean`\nDefault: false\n\nRewrite urls to be relative. False: do not modify urls.\n\n#### report\nChoices: `false` `'min'` `'gzip'`\nDefault: `false`\n\nEither do not report anything, report only minification result, or report minification and gzip results. This is useful to see exactly how well Less is performing, but using `'gzip'` can add 5-10x runtime task execution.\n\nExample ouput using `'gzip'`:\n\n```\nOriginal: 198444 bytes.\nMinified: 101615 bytes.\nGzipped: 20084 bytes.\n```\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-08-08âââv0.6.5âââSupport strictMath option Support rootpath parse option\n * 2013-07-09âââv0.6.4âââSupport relativeUrls option\n * 2013-07-06âââv0.6.3âââAdd report option for minification and gzip results\n * 2013-07-03âââv0.6.2âââsupport syncImport\n * 2013-06-12âââv0.6.1âââSupport ieCompat\n * 2013-06-09âââv0.6.0âââBump less to 1.4.0\n * 2013-05-23âââv0.5.2âââImprove error handling.\n * 2013-04-25âââv0.5.1âââGracefully handle configuration without sources.\n * 2013-02-15âââv0.5.0âââFirst official release for Grunt 0.4.0.\n * 2013-01-23âââ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-18âââv0.3.2âââAdd support for dumpLineNumbers.\n * 2012-10-12âââv0.3.1âââRename grunt-contrib-lib dep to grunt-lib-contrib.\n * 2012-09-24âââv0.3.0âââGlobal options depreciated Revert normalize linefeeds.\n * 2012-09-16âââv0.2.2âââSupport all less options Normalize linefeeds Default path to dirname of src file.\n * 2012-09-10âââ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 Aug 08 2013 09:12:41.*\n", |
---|
| 82 | "readmeFilename": "README.md", |
---|
| 83 | "_id": "grunt-contrib-less@0.6.5", |
---|
| 84 | "dist": { |
---|
| 85 | "shasum": "5df9151bc112af0d15829988d87e139e56da5b14" |
---|
| 86 | }, |
---|
| 87 | "_from": "grunt-contrib-less@0.6.5", |
---|
| 88 | "_resolved": "https://registry.npmjs.org/grunt-contrib-less/-/grunt-contrib-less-0.6.5.tgz" |
---|
| 89 | } |
---|