Twitter have offered a new tool called Bower to the world. It packages up JavaScript code along with images, CSS and everything that's needed for a feature to be useful stand-alone and easily integrated into other projects.
“Bower lets you easily install assets such as images, CSS and JavaScript, and manages dependencies for you,” Twitter explains on the project's GitHub page.
Components have become more than code, with (less)css, json static data and other resources that must be packaged and tracked.
Twitter is still under development however Bowler as allegedly been used internally for a while and Twitter is now open-sourcing it.
Twitter has become a major force in the open source world with internal tools, like Twitter's Bootstrap has become one of the leading javascript/css frameworks.