d2l-sequences
A set of web components written in Polymer to support the siren content hypermedia domain.
Installation
npm install
To start a local web server that hosts the demo page and tests:
polymer analyze > analysis.json && polymer serve
The demo will be available at http://127.0.0.1:port/components/d2l-sequences/demo/. Port is printed to console after the server starts. Alternatively, you can run the following command and then add /demo to the end of the URL:
polymer analyze > analysis.json && polymer serve --open
## Usage
All of the d2l-sequences components require a `href` and a `token` parameter.
## Developing, Testing and Contributing
After cloning the repo, run `npm install` to install dependencies.
If you don't have it already, install the [Polymer CLI](https://www.polymer-project.org/2.0/docs/tools/polymer-cli) globally:
```shell
npm install -g polymer-cli
To start a local web server that hosts the demo page and tests:
polymer serve
To lint (eslint and Polymer lint):
npm run lint
To run unit tests locally using Polymer test:
polymer test --skip-plugin sauce
To lint AND run local unit tests:
npm test
To build the lang terms:
npm build:lang