title: running multiple tests via npm test and jspm
body: <p>I'm using <a href="https://github.com/jspm/jspm-cli" rel="nofollow">jspm</a> to manage the modules in my project. </p>
  
  <p>I'd like to write tests using <a href="https://github.com/substack/tape" rel="nofollow">tape</a> and using ES6 syntax.</p>
  
  <p>I'd like to be able to run those tests from the command line using <code>npm test</code>.</p>
  
  <p>If I run <code>jspm run test/example.js</code> directly from the command line, the test runs.</p>
  
  <p>If I add </p>
  
  <pre><code>"scripts" : {
      "test" : "jspm run test/example.js"
  }
  </code></pre>
  
  <p>to <code>package.json</code> and then run <code>npm test</code>, the test runs.</p>
  
  <p>So far so good, but I'd like to be have multiple tests in the <code>test</code> dir. <code>jspm run</code> only seems to support one module at a time.</p>
  
  <p>If I replace <code>jspm run</code> with <code>babel-node</code>, I get <code>Error: Cannot find module 'tape'</code>. This error makes sense to me i.e <code>babel-node</code> doesn't know where <code>tape</code> is, only <code>jspm</code> does.</p>
  
  <p>So is there a way of saying to <code>npm test</code>, "run all these tests in here and if you can't find a module, ask jspm"?</p>
  
  <p>Here is my sample test</p>
  
  <pre><code>import test from 'tape';
  
  test('A passing test', (assert) =&gt; {
  
    assert.pass('This test will pass.');
  
    assert.end();
  });
  
  test('Assertions with tape.', (assert) =&gt; {
    const expected = 'something to test';
    const actual = 'sonething to test';
  
    assert.equal(actual, expected,
      'Given two mismatched values, .equal() should produce a nice bug report');
  
    assert.end();
  });
  </code></pre>
  
  <p>Here is my directory structure.</p>
  
  <pre><code>  package.json
    test
      | - example.js
  </code></pre>
  
  <p>Here is my package.json</p>
  
  <pre><code>{
    "name": "playground",
    "version": "1.0.0",
    "description": "",
    "main": "index.js",
    "author": "",
    "license": "ISC",
    "jspm": {
      "devDependencies": {
        "babel": "npm:babel-core@^5.8.24",
        "babel-runtime": "npm:babel-runtime@^5.8.24",
        "core-js": "npm:core-js@^1.1.4",
        "tape": "npm:tape@^4.2.2"
      }
    },
    "devDependencies": {
      "jspm": "^0.16.13"
    },
    "scripts" : {
      "test" : "jspm run test/example.js" //&lt;-- what should I put here?
    }
  
  }
  </code></pre>