twitter/bower — pull request #94 by gcpantazis (2012-10-13 17:12:21+00:00)
Title: Make components directory configurable in component.json, otherwise defa...

This is a proposed fix for #18, allowing the components directory location to be configured in component.json. As mentioned by others in the ticket, this is critical for our team's adoption of Bower as we have to control the location of vendor libraries more precisely.

Example usage:

```json
{
"name": "myProject",
"version": "1.0.0",
"main": "./path/to/main.css",
"componentsDirectory": "foo/bar/baz",
"dependencies": {
"jquery": "~1.7.2"
}
}
```

References and dependencies for `config.directory` were wrapped with an event listener for the JSON load, so as to wait for the directory location.

Let me know if this looks good; if so I'll update the readme.