title: How to prevent nested node_modules inside node_modules
body: <p>I've created my own npm package, let's call it XYZ, it has <code>@material-ui</code> dependency in it's <code>package.json</code> file. </p>
  
  <p>When I install it in project A I have nested node_modules inside of XYZ folder(so it's <code>A\node_modules\XYZ\node_modules\@material-ui</code>), but when I install it in project B I don't have nested node_modules folder. Both project A and B has <code>@material-ui</code> in their <code>package.json</code> files with same versions. </p>
  
  <p>How to force my XYZ package to use <code>@material-ui</code> from <code>A\node_modules</code>?</p>