Atinux/schema-inspector — pull request #11 by andreip (2014-07-26 10:58:57+00:00)
Title: [Bower] Change main to index.js fixes bower's install process.

### Problem ###

I wanted to use your library without having to include it in my repo explicitly, thus use `bower`, but found that it wrongly installed. Try it for yourself:
```shell
$ bower cache clean
$ bower install schema-inspector
$ ls bower_components/schema-inspector
fonts images index.html javascripts params.json stylesheets
$ ls bower_components/schema-inspector/javascripts/
headsmart.min.js main.js modernizr.js
```

You can see that the directory structure created is wrong, I cannot use your library and the `lib/` is nowhere to be found.

### Fixed ###

I've created a repo of my own at [andreip/schema-inspector-testing](https://github.com/andreip/schema-inspector-testing) which I registered under the name of `schema-inspector-testing` with bower. The repo includes the same commit from this pull request.
You can checkout the registered repo. You'll see it creates the **correct** directory structure now:
```shell
$ bower search schema-inspector-testing
$ bower install schema-inspector-testing
$ ls bower_components/schema-inspector-testing/
LICENSE Makefile README.md bower.json index.js lib misc package.json
$ ls bower_components/schema-inspector-testing/lib/
schema-inspector.js
```

NOTE: Please consider improving your bower install, I'll just have to use my own version until this is fixed.
Also, I'm no expert in this, so I may have it somehow wrong, feel free to correct me.