add component.json and change require path