This is an official Yarn v1 starter turborepo.
This turborepo uses Yarn as a package manager. It includes the following packages/apps:
smart-contracts
: a Hardhat projectweb
: a Next.js appui
: a stub React component library used by bothweb
and other potential Next.js applicationslint
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
)web3-config
: [Typechain] (https://github.com/dethcrypto/TypeChain) configuration containing the smart-contract interface and deployments filestsconfig
:tsconfig.json
s used throughout the monorepo
Each package/app is 100% TypeScript.
This turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
To build all apps and packages, run the following command:
yarn run build
To develop all apps and packages, run the following command:
yarn run dev