[fix] use ~ because of old npm on travis