title: Achieve "npm run x" behavior without a "scripts" entry?
body: <p>To run a node command within the "context" of your installed <code>node_modules</code>, you can make an entry in the <code>scripts</code> field of <code>package.json</code>.  Eg:</p>
  
  <pre><code>...
    "scripts": {
      "test": "mocha --recursive test/**/*.js --compilers js:babel-register"
    }
  ...
  </code></pre>
  
  <p>and then I can type <code>npm run test</code> in my project root, and the mocha tests will run (by calling the mocha binary installed in <code>node_modules/mocha/bin</code>).</p>
  
  <p>Is there a way to achieve precisely the same behavior but without creating a scripts entry?  Eg, for a one-off "script"?</p>
  
  <p>I'm imagining something like the following, as an equivalent to <code>npm run test</code>:</p>
  
  <pre><code>npm cmd mocha --recursive test/**/*.js --compilers js:babel-register
  </code></pre>
  
  <p>Is there any way to achieve this?</p>
  
  <p>NOTE: I should clarify that I'm looking for true equivalence.  That is, my command should be able to access other script commands, etc.  I know you can always call the binaries using node and the path to the binary within node_modules, but that's not an adequate solution.</p>