adding preinstall npm task