Add "main" option to resolve main content of this library

I added "main" option to resolve main content of this library from other
libraries (e.g. [wiredep](https://github.com/taptapship/wiredep) ).