amaranth-aurelia-utils
v0.0.1
Published
A starter kit for building an Aurelia plugin.
Downloads
2
Readme
amaranth-aurelia-utils
NOTE: We have some issues on TravisCI, with Karma not stoping after test is done. Bare with us.
This library is part of the Amaranth Framework) projects (was originaly developed for an extension of amaranth-framework and contains amaranth functionality util among all projects Amaranth is set to develop.
Documention
You can read the documentation for the amaranth framework here. If you would like to help improve this documentation, the source for many of the docs can be found in the doc folder within this repository. Other docs, not related to the general framework, but directed at specific libraries, can be found in the doc folder of those libraries.
Platform Support
This library can be used in the browser only.
Building The Code
To build the code, follow these steps.
- Ensure that NodeJS is installed. This provides the platform on which the build tooling runs.
- From the project folder, execute the following command:
npm install
- Ensure that Gulp is installed. If you need to install it, use the following command:
# gulp will be installed localy by using `npm install`
- To build the code, you can now run:
npm run build
You will find the compiled code in the
dist
folder, available in three module formats: AMD, CommonJS and ES6.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:
- Ensure that the Karma CLI is installed. If you need to install it, use the following command:
npm install -g karma-cli
- Ensure that jspm is installed. If you need to install it, use the following command:
npm install -g jspm
- Install the client-side dependencies with jspm:
jspm install
- You can now run the tests with this command:
karma start