add a main entry to component.json