Scripts Overview

Here are the commonly used scripts defined in the monorepo:

Installation and Dependencies

  • Install dependencies:

    npm install
    

Building

  • Build all packages:

    npm run build
    

Running the Application

  • Start the project:

    npm run start
    

Code Quality

  • Check linting of the project:

    npm run lint
    
  • Fixes formatting issues:

    npm run format
    
  • Checks formatting issues without fixing them:

    npm run format:check
    

Docker Commands

  • Build with docker:

    npm run docker:build
    
  • Run with docker:

    npm run docker:start
    

    After running ‘npm run docker:start’ you can navigate to http://localhost:8080/ and start using the application

Database

  • Start local database:

    npm run start:localdb
    

Library Publishing

  • Publish patch version:

    npm run publish:library:patch
    
  • Publish minor version:

    npm run publish:library:minor