New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hmcts/cmc-validators

Package Overview
Dependencies
Maintainers
16
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hmcts/cmc-validators - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

dist/isNotBlank.d.ts

2

package.json
{
"name": "@hmcts/cmc-validators",
"version": "0.0.1",
"version": "0.1.0",
"author": "HMCTS",

@@ -5,0 +5,0 @@ "license": "MIT",

# cmc-validators
This is validator library, containing frontend validators used in CMC frontend applications.
This is a validator library, containing frontend validators used in CMC frontend applications.
i.e [cmc-citizen-frontend](https://github.com/hmcts/cmc-citizen-frontend) and [cmc-legal-rep-frontend](https://github.com/hmcts/cmc-legal-rep-frontend)
## Developing
## Getting started
### Code style
### How to use it?
#### Installation
To add library to the project dependencies run:
```bash
$ yarn add @hmcts/cmc-validators
```
or
```bash
$ npm install @hmcts/cmc-validators
```
#### Dependencies
Install dependencies by executing the following command:

@@ -14,12 +31,19 @@

```
We use [TSLint](https://palantir.github.io/tslint/) with [StandardJS](http://standardjs.com/index.html) rules alongside [sass-lint](https://github.com/sasstools/sass-lint)
Running the linting:
`yarn lint`
#### Code style
### Running the tests
We use [TSLint](https://palantir.github.io/tslint/) with [StandardJS](http://standardjs.com/index.html) rules
Mocha is used for writing tests.
Run the linting:
```bash
$ yarn lint
```
Linting will also run automatically prior to committing changes.
#### Running the tests
[Mocha](https://mochajs.org) is used for writing tests.
Run them with:

@@ -31,8 +55,7 @@

## Install
For test coverage run:
Run:
```bash
$ yarn test:coverage
```
$ yarn add @hmcts/cmc-validators
```

@@ -39,0 +62,0 @@ ## License

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc