1 | ## less-brunch
|
2 | Adds [LESS](http://lesscss.org/) support to
|
3 | [brunch](http://brunch.io).
|
4 |
|
5 | ## Usage
|
6 | Install the plugin via npm with `npm install --save less-brunch`.
|
7 |
|
8 | Or, do manual install:
|
9 |
|
10 | * Add `"less-brunch": "x.y.z"` to `package.json` of your brunch app.
|
11 | Pick a plugin version that corresponds to your minor (y) brunch version.
|
12 | * If you want to use git version of plugin, add
|
13 | `"less-brunch": "git+ssh://git@github.com:brunch/less-brunch.git"`.
|
14 |
|
15 | **Important Note:** v1.7.0 is not compatible with pre-1.7.0 versions of brunch. If installing the latest version of less-brunch, please ensure your brunch is at a compatible version with `brunch --version`.
|
16 |
|
17 | ### Options
|
18 | Print source-file references in output via brunch config (supported options: ['comments', 'mediaquery', 'all']):
|
19 | ```coffeescript
|
20 | config =
|
21 | plugins:
|
22 | less:
|
23 | dumpLineNumbers: 'comments'
|
24 | ```
|
25 |
|
26 | ## License
|
27 |
|
28 | The MIT License (MIT)
|
29 |
|
30 | Copyright (c) 2012-2013 Paul Miller (http://paulmillr.com)
|
31 |
|
32 | Permission is hereby granted, free of charge, to any person obtaining a copy
|
33 | of this software and associated documentation files (the "Software"), to deal
|
34 | in the Software without restriction, including without limitation the rights
|
35 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
36 | copies of the Software, and to permit persons to whom the Software is
|
37 | furnished to do so, subject to the following conditions:
|
38 |
|
39 | The above copyright notice and this permission notice shall be included in
|
40 | all copies or substantial portions of the Software.
|
41 |
|
42 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
43 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
44 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
45 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
46 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
47 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
48 | THE SOFTWARE.
|