Use version predicate with broader npm support
Minor improvement to sync script