update dependencies and require component-event instead of event from index.js