Add main entry to component.json.