Split up npm package installation to multiple steps