UNPKG

@danielkalen/simplybind

Version:

Magically simple, framework-less one-way/two-way data binding for frontend/backend in ~5kb.

65 lines (44 loc) 3.02 kB
# aurelia-task-queue [![npm Version](https://img.shields.io/npm/v/aurelia-task-queue.svg)](https://www.npmjs.com/package/aurelia-task-queue) [![ZenHub](https://raw.githubusercontent.com/ZenHubIO/support/master/zenhub-badge.png)](https://zenhub.io) [![Join the chat at https://gitter.im/aurelia/discuss](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/aurelia/discuss?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![CircleCI](https://circleci.com/gh/aurelia/task-queue.svg?style=shield)](https://circleci.com/gh/aurelia/task-queue) This library is part of the [Aurelia](http://www.aurelia.io/) platform and contains a simple task queue for the browser that enables the queuing of both standard tasks and micro tasks. > To keep up to date on [Aurelia](http://www.aurelia.io/), please visit and subscribe to [the official blog](http://blog.durandal.io/) and [our email list](http://durandal.us10.list-manage1.com/subscribe?u=dae7661a3872ee02b519f6f29&id=3de6801ccc). We also invite you to [follow us on twitter](https://twitter.com/aureliaeffect). If you have questions, please [join our community on Gitter](https://gitter.im/aurelia/discuss). If you would like to have deeper insight into our development process, please install the [ZenHub](https://zenhub.io) Chrome or Firefox Extension and visit any of our repository's boards. You can get an overview of all Aurelia work by visiting [the framework board](https://github.com/aurelia/framework#boards). ## Platform Support This library can be used in the **browser** only. ## Building The Code To build the code, follow these steps. 1. Ensure that [NodeJS](http://nodejs.org/) is installed. This provides the platform on which the build tooling runs. 2. From the project folder, execute the following command: ```shell npm install ``` 3. Ensure that [Gulp](http://gulpjs.com/) is installed. If you need to install it, use the following command: ```shell npm install -g gulp ``` 4. To build the code, you can now run: ```shell gulp build ``` 5. You will find the compiled code in the `dist` folder, available in three module formats: AMD, CommonJS and ES6. 6. See `gulpfile.js` for other tasks related to generating the docs and linting. ## Running The Tests To run the unit tests, first ensure that you have followed the steps above in order to install all dependencies and successfully build the library. Once you have done that, proceed with these additional steps: 1. Ensure that the [Karma](http://karma-runner.github.io/) CLI is installed. If you need to install it, use the following command: ```shell npm install -g karma-cli ``` 2. Ensure that [jspm](http://jspm.io/) is installed. If you need to install it, use the following commnand: ```shell npm install -g jspm ``` 3. Download the [SystemJS](https://github.com/systemjs/systemjs) module loader: ```shell jspm dl-loader ``` 4. You can now run the tests with this command: ```shell karma start ```