Lateralus

Code Climate

Lateralus is a single page web application framework. It is designed around the idea that UIs should be divided into discreet, reusable, loosely-coupled components. These components should communicate only indirectly and be easily swappable or removable. Lateralus provides patterns and utilities to cleanly isolate individual components of your app.

Lateralus is built upon Backbone, Lodash, jQuery, and Mustache.

Link: A simple demo app built with Lateralus

Dependencies

The standard build of Lateralus does not have its dependencies baked, so you must provide them at runtime. Lateralus expects and is tested with:

Installation

To install Lateralus into an existing app:

npm install --save lateralus

Running tests

You can run the Lateralus unit tests both in your browser as well as in a command line environment. To run the tests in your browser:

npm run start

And then navigate to http://127.0.0.1:8080/test/.

To run them at the command line:

npm test

Publishing new versions

Once things are ready, you should use npm version. This will:

  • change the version in the package.json file.
  • build the documentation (with the new version).
  • commit the new documentation
  • tag the new version
  • push to the repo.

Once this is done, Travis will publish the change to NPM.