add component.json

This allows using dict from Component. I know you're a big fan of npm for the client-side, but I'd rather not keep a fork around just for a component.json.