Skip to content

LATOKEN/safe-web-core

 
 

Repository files navigation

Safe Web Core

GitHub license tests GitHub package.json version (branch) GitPOAP Badge

The default Safe web interface.

Contributing

Contributions, be it a bug report or a pull request, are very welcome. Please check our contribution guidelines beforehand.

Getting started with local development

Install the dependencies:

yarn

Create a .env file with the environment variables. You can use the .env.example file as a reference.

Run the development server:

yarn start

Open http://localhost:3000 with your browser to see the app.

Lint

ESLint:

yarn lint --fix

Prettier:

yarn prettier

Tests

Unit tests:

yarn test --watch

Cypress tests

Build and generarate a static site:

yarn build && yarn export

Serve the static files:

yarn serve

Launch the Cypress UI:

yarn cypress:open

You can then choose which e2e tests to run.

Component template

To create a new component from a template:

yarn cmp MyNewComponent

Frameworks

Releases

No releases published

Packages

 
 
 

Languages

  • TypeScript 92.7%
  • JavaScript 4.0%
  • CSS 3.1%
  • Other 0.2%