added npm preinstall