title: How to import or include a javascript file in a gulp file
body: <p>How can I import or include my own javascript file into a gulpfile? </p>
  
  <p>Gulp is installed via npm, so I can include other npm modules like this:</p>
  
  <pre><code>var sass = require('gulp-sass');
  </code></pre>
  
  <p>So I would like to do something like:</p>
  
  <pre><code>var karmaConfig = require('karma-config.js');
  </code></pre>
  
  <p>The directory structure is like this:</p>
  
  <pre><code>node_modules/
  gulpfile.js
  package.json
  karma-config.js
  </code></pre>
  
  <p>so the gulpfile is at the same level as the file that I want to import.</p>