added emitter to package.json