use npm for automation