@hmcts/cmc-validators
TypeScript icon, indicating that this package has built-in type declarations

0.2.6 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @hmcts/cmc-validators

Weekly Downloads

77

Version

0.2.6

License

MIT

Unpacked Size

54.8 kB

Total Files

46

Last publish

Collaborators

  • adamsilver
  • adrianc
  • andrewwa-kainos
  • bendiggle
  • damdun
  • dharmendrak
  • ellie-harrison
  • hemantt
  • jenkins-reform-hmcts
  • p.jar
  • pragnesh
  • robertparkinson
  • sabah.irfan
  • timja
  • timja-hmcts
  • trevorsaint