use prepublish insetad of postinstall