title: how to require a specific file using duojs
body: <p>I need to include a library that is present on github, but is not well-packaged; using <a href="http://duojs.org/" rel="nofollow">Duo.js</a></p>
  
  <p>At the moment of writing I am using the following to achieve what I desire:</p>
  
  <blockquote>
    <p><a href="http://bower.io" rel="nofollow">bower</a><br>
    <a href="http://gulpjs.com" rel="nofollow">gulp</a><br>
    <a href="https://github.com/ck86/main-bower-files" rel="nofollow">main-bower-files</a></p>
  </blockquote>
  
  <p>Bower just downloades the library.<br>
  Gulp, with main-bower-files are useful to override the single package options and setup a so-called "main file" that I can build.</p>
  
  <p>Example:</p>
  
  <pre><code>gulp.task('copy-libs', function () {
    return gulp.src(bowerFiles({ env: 'development' }))
      .pipe(gulp.dest('build/libs/'));
  });
  </code></pre>
  
  <p>bower.json file:</p>
  
  <pre><code>  "dependencies": {
      "cash": "sudo-js/cash",
      "bootstrap": "~3.3.2",
      "delorean": "~0.8.7",
      "react": "~0.12.2"
    },
    "overrides": {
      "cash": {
        "main": {
          "development": "build/debug/cash.js"
        }
      }
    }
  }
  </code></pre>
  
  <p>How can i achieve this with duojs?<br>
  The documentation is quite thin regarding libraries that does <strong>not</strong> ship with a valid <code>component.json</code></p>