mirror of
https://github.com/bower/bower.git
synced 2026-01-23 21:27:59 -05:00
21 lines
569 B
JavaScript
21 lines
569 B
JavaScript
// ==========================================
|
|
// BOWER: Public API Definition
|
|
// ==========================================
|
|
// Copyright 2012 Twitter, Inc
|
|
// Licensed under The MIT License
|
|
// http://opensource.org/licenses/MIT
|
|
// ==========================================
|
|
|
|
var abbrev = require('abbrev');
|
|
var commands = require('./commands');
|
|
|
|
var abbreviations = abbrev(Object.keys(commands));
|
|
abbreviations.i = 'install';
|
|
abbreviations.rm = 'uninstall';
|
|
|
|
module.exports = {
|
|
commands: commands,
|
|
abbreviations: abbreviations,
|
|
config: require('./core/config')
|
|
};
|