Updating from deprecated npm:events-browserify to new npm:events@1.0.0

* npm:events-browserify is deprecated in favour of npm:events. 
* Only regenerating the events files in dist. 
* Adding transpileES6 to false to avoid getting prompted on build.