Adding component.json for component.js support

I came across your very useful library, and I added a `component.json` so I can more easily use it. If you don't mind another spec file in your repo, feel free to merge this PR. (otherwise, just close it)