0.2.6 • Published 6 years ago
@hmcts/cmc-validators v0.2.6
cmc-validators
This is a validator library, containing frontend validators used in CMC frontend applications. i.e cmc-citizen-frontend and cmc-legal-rep-frontend
Getting started
How to use it?
Installation
To add library to the project dependencies run:
$ yarn add @hmcts/cmc-validatorsor
$ npm install @hmcts/cmc-validatorsDependencies
Install dependencies by executing the following command:
$ yarn installCode style
We use TSLint with StandardJS rules
Run the linting:
$ yarn lintLinting will also run automatically prior to committing changes.
Running the tests
Mocha is used for writing tests.
Run them with:
$ yarn testFor test coverage run:
$ yarn test:coverageLicense
This project is licensed under the MIT License - see the LICENSE file for details