title: Where is npm run looking for the scripts?
body: <p>When I type "npm run test" in the command line, npm goes to package.json, to the "scripts" section and tries to match "test" there.
  So far so good.</p>
  
  <p>Now, the line behind "test" is the following:     <code>"JASMINE_CONFIG_PATH=./spec/support/jasmine.json jasmine-run"</code>  but the first part (everything except "jasmine-run") can be removed witout problems. [I have a similarily structured project where it works, so I can test these modifications]</p>
  
  <p>now:
  WHERE is npm looking for "jasmine-run" ???</p>
  
  <p>Because since I have a project where the script provided work, I could look for it, but the answer is: in the node_modules folder next to package.json is a module, in whose package.json has, in the "bin" section: </p>
  
  <pre><code>"jasmine-run": "tools/jasmine-run/jasmine-run.js",
  </code></pre>
  
  <p>However, this exact setup exists in both projects. and in one everything works, while in the other "jasmine-run" cannot be found.</p>
  
  <p>As ana lternative to an answer I'd also take a proper explanation (or source) on how/where npm run actually looks for its stuff, because then I could probably find the error myself.</p>