title: Install only devDependencies for NodeJS
body: <p>I am using npm version 7.18.1. From what I see from the documentation the <code>--only=development</code> option no longer exists.</p>
  <p>I'm creating a multi-stage Docker image. What I need to do is to create an image for the development step in which only <code>devDependency</code> packages are installed. On the next step, I'm going to create another image with production packages installed in it.</p>
  <p>How do I do this without the --only=development option?</p>