1 | # aurelia-templating-resources
|
2 |
|
3 | [![npm Version](https://img.shields.io/npm/v/aurelia-templating-resources.svg)](https://www.npmjs.com/package/aurelia-templating-resources)
|
4 | [![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)
|
5 | [![CircleCI](https://circleci.com/gh/aurelia/templating-resources.svg?style=shield)](https://circleci.com/gh/aurelia/templating-resources)
|
6 |
|
7 | This library is part of the [Aurelia](http://www.aurelia.io/) platform and contains a standard set of behaviors, converters and other resources for use with the Aurelia templating library.
|
8 |
|
9 | > To keep up to date on [Aurelia](http://www.aurelia.io/), please visit and subscribe to [the official blog](http://blog.aurelia.io/) and [our email list](http://eepurl.com/ces50j). We also invite you to [follow us on twitter](https://twitter.com/aureliaeffect). If you have questions look around our [Discourse forums](https://discourse.aurelia.io/), chat in our [community on Gitter](https://gitter.im/aurelia/discuss) or use [stack overflow](http://stackoverflow.com/search?q=aurelia). Documentation can be found [in our developer hub](http://aurelia.io/docs).
|
10 |
|
11 | ## Platform Support
|
12 |
|
13 | This library can be used in the **browser** only.
|
14 |
|
15 | ## Building The Code
|
16 |
|
17 | To build the code, follow these steps.
|
18 |
|
19 | 1. Ensure that [NodeJS](http://nodejs.org/) is installed. This provides the platform on which the build tooling runs.
|
20 | 2. From the project folder, execute the following command:
|
21 |
|
22 | ```shell
|
23 | npm install
|
24 | ```
|
25 | 3. To build the code, you can now run:
|
26 |
|
27 | ```shell
|
28 | npm run build
|
29 | ```
|
30 | 4. You will find the compiled code in the `dist` folder, available in three module formats: AMD, CommonJS and ES6.
|
31 |
|
32 | ## Running The Tests
|
33 |
|
34 | 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:
|
35 |
|
36 | 1. You can now run the tests with this command:
|
37 |
|
38 | ```shell
|
39 | npm run test
|
40 | ```
|
41 |
|
42 | 2. With watch options to rerun the test (headless):
|
43 |
|
44 | ```shell
|
45 | npm run test:watch
|
46 | ```
|
47 |
|
48 | 3. With watch options to rerun the test (with browser):
|
49 |
|
50 | ```
|
51 | npm run test:debugger
|
52 | ```
|
53 |
|
\ | No newline at end of file |