kanso/kanso — pull request #356 by skiqh (2012-01-21 16:24:28+00:00)
Title: Overwrite settings from kanso.json with environment-specific settings from .kansorc

I had to change `_.extend()` to `exports.merge()` in packages.js:46,
because, if a section in kanso.json was only partially redefined in
.kansorc, underscore would replace that whole section.

***

For example, if one defined in `kanso.json`

```javascript
...
less: {
compile: [ "style.less", "mobile.less" ],
compress: false
}
```

and tried to overwrite only the `compress`-part like this in `.kansorc`

```javascript
exports.env = {
...
'production': {
overrides: {
less: { compress: true }
}
}
```

the resulting settings object passed to the packages was

```javascript
...
less: {
compress: true
}
```

and __not__

```javascript
...
less: {
compile: [ "style.less", "mobile.less" ],
compress: true
}
```