Adds component.json with main source