add component/events to component.json