Add "main" attribute to component.json.