Files
bower/lib/core/config.js
2012-10-02 14:20:44 -04:00

26 lines
506 B
JavaScript

// Bower Config
// UZI
// added searchpath array
module.exports = function() {
var c = require('rc') ('bower', {
//Bower Defaults
directory: 'components',
json: 'component.json',
endpoint: 'https://bower.herokuapp.com',
searchpath: []
});
// temp for now
// rc doesn't read .bowerrc from local so we do it manually
var fs = require('fs');
if (fs.existsSync('.bowerrc')) {
c = JSON.parse(fs.readFileSync('.bowerrc').toString());
}
return c;
}();
// END UZI