Initialize this project
git clone https://github.com/Anchor-Protocol/anchor-web-app.git
cd anchor-web-app
yarn install
And you can run scripts
yarn run app:start
Development run /app
directory (web browser will open)yarn run app:build
Build /app
directory (/app/build
directory will created)yarn run app:test
yarn run app:coverage
yarn run app:pack
Build /app/src/@anchor-protocol
packages (/app/out
directory will created)yarn run app:publish
Publish /packages/out
directory to the NPM registryyarn run app:storybook
Development run Storybookyarn run app:build-storybook
yarn run landing:start
Development run /landing
directory (web browser will open)yarn run landing:build
Build /landing
directory (/landing/build
directory will created)yarn run landing:test
yarn run landing:coverage
The system environment variable LOCALHOST_HTTPS_CERT
and LOCALHOST_HTTPS_KEY
are required when you run yarn run app:start
or yarn run landing:start
in local.
(WebApp requires https certified by CA to test features such as connectivity and Notification with Walletconnect's wss.)
mkcert localhost 127.0.0.1
.LOCALHOST_HTTPS_CERT
and LOCALHOST_HTTPS_KEY
system environment variables.Configurations
yarn run graphql:download-schema
IDE
This software is licensed under the Apache 2.0 license. Read more about it here.
© 2021 Anchor Protocol