Website: newswap.org
yarn
Dev: .env
TestNet: .env.testnet
Production: .env.production
yarn dev
Default is Dev
-
yarn dev:testnet
-
yarn dev:production
yarn build
Default build is TestNet
-
yarn build:dev
-
yarn build:testnet
-
yarn build:production
yarn start
Run with last build
Create a build and export it's static HTML files to html folder
yarn export
Default export is TestNet
-
yarn export:dev
-
yarn export:testnet
-
yarn export:production
Translation Files: ./public/locales/*.json
Run following command to follow the formatting rules in this repo before making a commit.
yarn prettier