Added Component(1) support

By adding a `component.json` file we can add Moment as a dependency in Component. Otherwise I have to maintain a fork :cry: