8000 GitHub - jamescheuk91/sovryn-dapp: Dapp2 of sovryn.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jamescheuk91/sovryn-dapp

 
 

Repository files navigation

Sovryn Dapp

What's inside?

This is a turborepo for sovryn dapp v2.

Apps and Packages

  • frontend: a react app
  • @sovryn/ui: a stub React component library shared by our apps
  • @sovryn/ethers-provider: helper functions for accessing ethers static provider
  • @sovryn/eslint-config-custom: eslint configurations (includes eslint-config-next and eslint-config-prettier)
  • @sovryn/tailwindcss-config: tailwindcss configuration
  • @sovryn/tsconfig: tsconfig.jsons used throughout the monorepo

Development

# install dependencies
yarn install
# run all apps on development mode
yarn dev
# run storybook
yarn storybook
# run tests
yarn test

Error resolution

husky package not available

When using NVM and committing code changes, you may receive a "package 'husky' not found" error. Assuming this is already installed on your machine (by yarn install) then you may need to add the file ~/.huskyrc with the following contents:

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"

module not found

If "module not found" errors are encountered when running yarn test or from husky precommit checks, then please make sure packages are built first by running yarn dev or yarn build from root directory.

About

Dapp2 of sovryn.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.5%
  • CSS 2.3%
  • Other 1.2%
0