Skip to content

Babylon’s frontend monorepo contains everything you need to build a world-class staking dApp.

License

Notifications You must be signed in to change notification settings

PixelAuth/babylon-toolkit

 
 

Repository files navigation

Babylon Logo

Babylon Typescript Monorepo

TypeScript application & libraries

npm version


Babylon Monorepo

This repository is a monorepo for Babylon Labs TypeScript applications and libraries. It uses Nx to manage multiple packages, allowing for efficient development and deployment of TypeScript-based projects.

Development

Please follow the guidelines outlined in the DEVELOPMENT.md file.

Working with services

The services are located in the services directory. To get started with development, follow these steps: Note: Replace {service-name} with the actual name of the service you want to work on. For example, @services/simple-staking and @services/vault.

pnpm run build # Build the entire monorepo. After the first run, the build result will be cached for most packages.

Option 1:

pnpm exec nx dev @services/{service-name} # Start the development server for the {service-name} service.
pnpm exec nx watchDeps @services/{service-name} # Watch for changes in dependencies and rebuild as necessary.

Option 2:

pnpm exec nx dev:watchDeps @services/{service-name} # Start the development server and watch for changes in dependencies. The problem with this approach is that all logs are mixed together and can be hard to find out what's going on some times.

About

Babylon’s frontend monorepo contains everything you need to build a world-class staking dApp.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.0%
  • JavaScript 1.5%
  • CSS 1.4%
  • Other 1.1%