0.2.6 • Published 5 years ago

@hmcts/cmc-validators v0.2.6

Weekly downloads
1,368
License
MIT
Repository
github
Last release
5 years ago

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-validators

or

$ npm install @hmcts/cmc-validators

Dependencies

Install dependencies by executing the following command:

$ yarn install

Code style

We use TSLint with StandardJS rules

Run the linting:

$ yarn lint

Linting will also run automatically prior to committing changes.

Running the tests

Mocha is used for writing tests.

Run them with:

$ yarn test

For test coverage run:

$ yarn test:coverage

License

This project is licensed under the MIT License - see the LICENSE file for details

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

7 years ago

0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.1

7 years ago