UNPKG

1.99 kBMarkdownView Raw
1## less-brunch
2Adds [LESS](http://lesscss.org/) support to
3[brunch](http://brunch.io).
4
5## Usage
6Install the plugin via npm with `npm install --save less-brunch`.
7
8Or, 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
18Print source-file references in output via brunch config (supported options: ['comments', 'mediaquery', 'all']):
19```coffeescript
20config =
21 plugins:
22 less:
23 dumpLineNumbers: 'comments'
24```
25
26## License
27
28The MIT License (MIT)
29
30Copyright (c) 2012-2013 Paul Miller (http://paulmillr.com)
31
32Permission is hereby granted, free of charge, to any person obtaining a copy
33of this software and associated documentation files (the "Software"), to deal
34in the Software without restriction, including without limitation the rights
35to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
36copies of the Software, and to permit persons to whom the Software is
37furnished to do so, subject to the following conditions:
38
39The above copyright notice and this permission notice shall be included in
40all copies or substantial portions of the Software.
41
42THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
43IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
44FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
45AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
46LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
47OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
48THE SOFTWARE.