Added component.json

Adds support for component/component. It would make https://github.com/madebymany/sir-trevor-js/pull/173 work.