You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can create a component.json file in your project's root, specifying all of its dependencies. This is similar to Node's package.json, or Ruby's Gemfile, and is useful for locking down a project's dependencies.
Put this under your project's root, listing all of your dependencies. When you run bower install, Bower will read this component.json file, resolve all the relevant dependencies and install them.
Authoring packages
To register a new package, it's as simple as specifying a component.json, pushing the package to a Git endpoint, say GitHub, and running:
Looks like a quick and easy task - would be great to have backbone-couchdb added to bower for use with Yeoman and other tools that work with Bower.
http://twitter.github.com/bower/
Defining a package
You can create a component.json file in your project's root, specifying all of its dependencies. This is similar to Node's package.json, or Ruby's Gemfile, and is useful for locking down a project's dependencies.
{
"name": "backbone-couchdb",
"version": "1.2.2",
"main": "./backbone-couchdb.js",
"dependencies": {
"underscore": "~1.3.1",
"backbone": "~0.9.2"
}
}
Put this under your project's root, listing all of your dependencies. When you run bower install, Bower will read this component.json file, resolve all the relevant dependencies and install them.
Authoring packages
To register a new package, it's as simple as specifying a component.json, pushing the package to a Git endpoint, say GitHub, and running:
bower register backbone-couchdb git://github.com/janmonschke/backbone-couchdb
The text was updated successfully, but these errors were encountered: