Read bower.json / .bower.json, and honor main option