59 lines
10 KiB
JSON
59 lines
10 KiB
JSON
|
{
|
||
|
"name": "grunt-contrib-less",
|
||
|
"description": "Compile LESS files to CSS.",
|
||
|
"version": "0.11.4",
|
||
|
"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"
|
||
|
}
|
||
|
],
|
||
|
"engines": {
|
||
|
"node": ">=0.10.0"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"test": "grunt test"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"async": "^0.2.10",
|
||
|
"chalk": "^0.5.1",
|
||
|
"less": "^1.7.2",
|
||
|
"lodash": "^2.4.1",
|
||
|
"maxmin": "^0.1.0"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"grunt-contrib-jshint": "^0.9.2",
|
||
|
"grunt-contrib-nodeunit": "^0.3.3",
|
||
|
"grunt-contrib-clean": "^0.5.0",
|
||
|
"grunt-contrib-internal": "^0.4.5",
|
||
|
"grunt": "^0.4.4",
|
||
|
"grunt-cli": "^0.1.13"
|
||
|
},
|
||
|
"peerDependencies": {
|
||
|
"grunt": "~0.4.0"
|
||
|
},
|
||
|
"keywords": [
|
||
|
"gruntplugin"
|
||
|
],
|
||
|
"files": [
|
||
|
"tasks",
|
||
|
"LICENSE-MIT"
|
||
|
],
|
||
|
"readme": "# grunt-contrib-less v0.11.4 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-less.png?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-less) <a href=\"https://ci.appveyor.com/project/gruntjs/grunt-contrib-less\"><img src=\"https://ci.appveyor.com/api/projects/status/e3aa4d07xe4w4u05/branch/master\" alt=\"Build Status: Windows\" height=\"18\" /></a>\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` `Function`\n\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\nIf you specify a function the source filepath will be the first argument. You can return either a string or an array of paths to be used.\n\n#### rootpath\nType: `String`\n\nDefault: `\"\"`\n\nA path to add on to the start of every url resource.\n\n#### compress\nType: `Boolean`\n\nDefault: `false`\n\nCompress output by removing some whitespaces.\n\n#### cleancss\nType: `Boolean`\n\nDefault: `false`\n\nCompress output using [clean-css](https://npmjs.org/package/clean-css).\n\n#### ieCompat\nType: `Boolean`\n\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`\n\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`\n\nDefault: `false`\n\nForce evaluation of imports.\n\n#### strictMath\nType: `Boolean`\n\nDefault: `false`\n\nWhen enabled, math is required to be in parenthesis.\n\n#### strictUnits\nType: `Boolean`\n\nDefault: `false`\n\nWhen enabled, less will validate the units used (e.g. 4px/2px = 2, not 2px and 4em/2px throws an error).\n\n#### syncImport\nType: `Boolean`\n\nDefault: `false`\n\nRead @import'ed files synchronously from disk.\n\n#### dumpLineNumbers\nType: `String`\n\nDefault: `false`\n\nConfigures -sass-debug-info support.\n\nAccepts following values: `comments`, `mediaquery`, `all`.\n\n#### relativeUrls\nType: `Boolean`\n\nDefault: `false`\n\nRewrite urls to be relative. false: do not modify urls.\n\n#### customFunctions\nType: `Object`\n\nDefault: none\n\nDefine custom functions to be available within your LESS stylesheets. The function's name must be lowercase.\nIn the definition, the first argument is the less object, and subsequent arguments are from the less function call.\nValues passed to the function are type
|
||
|
"readmeFilename": "README.md",
|
||
|
"_id": "grunt-contrib-less@0.11.4",
|
||
|
"_from": "grunt-contrib-less@"
|
||
|
}
|