UNPKG

2.74 kBMarkdownView Raw
1<p>
2 <a href="https://aurelia.io/" target="_blank">
3 <img alt="Aurelia" src="https://aurelia.io/styles/images/aurelia.svg">
4 </a>
5</p>
6
7[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
8[![npm Version](https://img.shields.io/npm/v/aurelia-templating-resources.svg)](https://www.npmjs.com/package/aurelia-templating-resources)
9![ci](https://github.com/aurelia/templating-resources/actions/workflows/main.yml/badge.svg)
10[![Discourse status](https://img.shields.io/discourse/https/meta.discourse.org/status.svg)](https://discourse.aurelia.io)
11[![Twitter](https://img.shields.io/twitter/follow/aureliaeffect.svg?style=social&label=Follow)](https://twitter.com/intent/follow?screen_name=aureliaeffect)
12[![Discord Chat](https://img.shields.io/discord/448698263508615178.svg)](https://discord.gg/RBtyM6u)
13
14# aurelia-templating-resources
15
16This 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.
17
18> 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 Discord](https://discord.gg/RBtyM6u) or use [stack overflow](http://stackoverflow.com/search?q=aurelia). Documentation can be found [in our developer hub](http://aurelia.io/docs).
19
20## Platform Support
21
22This library can be used in the **browser** only.
23
24## Building The Code
25
26To build the code, follow these steps.
27
281. Ensure that [NodeJS](http://nodejs.org/) is installed. This provides the platform on which the build tooling runs.
292. From the project folder, execute the following command:
30
31 ```shell
32 npm install
33 ```
343. To build the code, you can now run:
35
36 ```shell
37 npm run build
38 ```
394. You will find the compiled code in the `dist` folder, available in three module formats: AMD, CommonJS and ES6.
40
41## Running The Tests
42
43To 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:
44
451. You can now run the tests with this command:
46
47 ```shell
48 npm run test
49 ```
50
512. With watch options to rerun the test (headless):
52
53 ```shell
54 npm run test:watch
55 ```
56
573. With watch options to rerun the test (with browser):
58
59 ```
60 npm run test:debugger
61 ```
62
\No newline at end of file