Use new method of running npm.