backbone-gitlab
is an open-source JavaScript library built on Backbone.js, to be used in browsers to load data via the GitLab API.
This library is written in Coffeescript, to compile run:
npm run build-js
If you wish to watch for changes, such as when writing new tests, you can run
npm run watch-js
The library ships with a testing suite that makes requests to a fake canned server. First you need to install the dependencies:
npm install
Then run this command from the root folder:
npm run build-js
npm run test
This command will start up a canned server for stubbing tests and open a test/index.html in the browser.