add `component.json` file for component compat

It would be sweet if you could merge this so that I don't have to maintain a fork. Cheers!