NewSwap Web
Website: newswap.org
Install Dependencies
yarn
Environments
Dev: .env
TestNet: .env.testnet
Production: .env.production
Development
yarn dev
Default is Dev
-
yarn dev:testnet
-
yarn dev:production
Build
yarn build
Default build is TestNet
-
yarn build:dev
-
yarn build:testnet
-
yarn build:production
Run Build
yarn start
Run with last build
Export HTML files
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
Branches
Contributing
Localization
Translation Files: ./public/locales/*.json
Formatting Your Code
Always check your code before making a commit. Some useful tools integrated in this project.
Lint (Eslint)
yarn lint
Formatting Check (Prettier)
yarn fc
Formatting Fix (Prettier)
yarn ff