Refactor Run NPM into its own method.