Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

rsksmart/rif-identity.js

Repository files navigation

logo

rif-identity.js

RIF Self-sovereign identity library.

npm alerts

Development

Setup:

npm install
npm run setup
npm run build

First installs global dependencies, then links inner packages, finally installs inner packages dependencies.

Test

Run all packages tests using Jest

npm test

Variants:

  • Watch all tests (useful for development)

    npm run test:watch
    
  • View coverage (output in /coverage)

    npm run test:coverage
    

Build

Builds src/ folder into lib/ folder of each package in packages/ folder using Babel

npm run build

Lint

Enforced code syntax using ESLint using standard config

npm run lint

Fast fixer:

npm run lint:fix

Architecture

TBD

Release flow

TBD