Browser Package Manager
Ruby JavaScript Other
Latest commit 67bc55f Dec 6, 2011 @wagenet wagenet Merge pull request #91 from devinus/master
Server index.html as root
Permalink
Failed to load latest commit information.
bin Better debug handling Aug 30, 2011
lib Serve root as index.html Dec 6, 2011
spec
support Cleaned up ExecJS, added ES5 Shim Sep 3, 2011
templates Changed build setting directories parameter to files Aug 31, 2011
.gitignore Ignore .swp files Jul 26, 2011
CHANGELOG.md
Gemfile Added packaging tasks Sep 26, 2011
README.md Updated installation instructions Oct 24, 2011
Rakefile Fixed Packager task Sep 27, 2011
TODO.md
bpm.gemspec Serve root as index.html Dec 6, 2011

README.md

bpm - browser packager manager

bpm is a system for managing resource dependencies for client-side browser applications. It is inspired by npm, but has better support for the unique needs of browser applications including:

  • Supports multiple module loaders (i.e. you can choose RequireJS, spade or even no loader at all)
  • Handles non-JS assets such as CSS and images. (Support for SCSS/Sass coming soon)
  • Can autocompile other languages such as CoffeeScript.

bpm also implements a basic build system that generates cache-optimized assets.

Finally, bpm is based on the rubygems library. Although you don't need to know any ruby to use bpm, this means that we also benefit from nearly 10 years of lessons learned to jump start bpm.

Workflow Quick Start

Once you have bpm installed (see below), create a demo app like so:

bpm init my_app
cd my_app

Then add jquery as a dependency:

bpm add jquery

This will create a file called assets/bpm_libs which will include jquery. You can then create an index.html and reference that js. Everytime you add a dependency, it will be based into this JS file .

Note that there is also a CSS file at assets/bpm_styles.css - we do the same thing there.

Installing

See http://www.getbpm.org/pages/download

Additional Documentation

https://github.com/bpm/bpm/wiki