title: npm run <cmd> works slow
body: <p>I used to run various commands via Makefile but for nodejs projects package.json is a more appropriate place for this stuff.</p>
  
  <p>Running commands via npm works great but very slow comparing with a command time execution.</p>
  
  <pre><code>$ time ./node_modules/.bin/jshint . &amp;&amp; ./node_modules/.bin/jscs .
  
  real    0m0.759s
  user    0m0.524s
  sys 0m0.085s
  No code style errors found.
  
  $ time npm run lint
  
  &gt; @ lint /path/to/project
  &gt; jshint . &amp;&amp; jscs .
  
  No code style errors found.
  
  real    0m2.246s
  user    0m1.637s
  sys 0m0.277s
  </code></pre>
  
  <p>It is possible to speed it up?</p>
  
  <p><strong>upd.</strong> My package.json:</p>
  
  <pre><code>{
    "devDependencies": {
      "jscs": "^1.12.0",
      "jshint": "^2.6.3"
    },
    "scripts": {
      "lint": "jshint . &amp;&amp; jscs ."
    }
  }
  </code></pre>
  
  <p><strong>upd2.</strong> I measured time in the wrong way. Gant has pointed to it in his comment. Now both times look similar (100ms difference).</p>
  
  <pre><code>$ time sh -c './node_modules/.bin/jshint . &amp;&amp; ./node_modules/.bin/jscs .'
  No code style errors found.
  
  real    0m1.704s
  user    0m1.245s
  sys 0m0.177s
  $ time npm run lint
  
  &gt; @ lint /path/to/project
  &gt; jshint . &amp;&amp; jscs .
  
  No code style errors found.
  
  real    0m1.822s
  user    0m1.621s
  sys 0m0.198s
  </code></pre>