add npm install to postinst and remove from preinst