add a main to component.json