Skip to content

Register Bower Package #54

@kurtmilam

Description

@kurtmilam

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions