Add main to component.json