title: npm install - Ignore some folders
body: <p>When I run <code>npm install</code> I find in some installed packages some folders like : <code>docs</code>, <code>samples</code>, <code>node_modules</code> ...</p>
  
  <p>When I was using <code>bower</code> I used this :</p>
  
  <pre><code>"ignore": [
      "node_modules/**",
      "**/node_modules",
      ".settings/**",
      "src/test/**",
      "target/**",
      "src/main/resources/**",
      "samples/**",
      "docs/**"
    ]
  </code></pre>
  
  <p>How can I do this using npm ?</p>