Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (11 sloc) 1.05 KB

RequireJS skeleton for modern JS libraries.

Build Status

This template is a starting point for developing modern javascript modules and libraries. Dependency management is handled by the AMD loader RequireJS. Unit testing is implemented with the BDD framework Jasmine. Compilation is handled with r.js and almond--the result is a single file with no external dependencies that runs in Node or the browser (with AMD, or as an inline script).

How to build (node.js is required):

node vendor/r.js -o build.js

This generates a minified/optimized file under build/app.js.

Thanks to

  • @jrburke for the fantastic tools RequireJS/r.js & almond.
  • @pivotal for the intuitive testing framework Jasmine.