Files
bower/lib/index.js
2016-01-25 19:40:54 +01:00

20 lines
629 B
JavaScript

var commands = require('./commands');
var version = require('./version');
var abbreviations = require('./abbreviations')(commands);
function clearRuntimeCache() {
// Note that in edge cases, some architecture components instance's
// in-memory cache might be skipped.
// If that's a problem, you should create and fresh instances instead.
var PackageRepository = require('./core/PackageRepository');
PackageRepository.clearRuntimeCache();
}
module.exports = {
version: version,
commands: commands,
config: require('./config')(),
abbreviations: abbreviations,
reset: clearRuntimeCache
};