ton-console
ton-console copied to clipboard
Launch a successful business with TON blockchain: manage dapps, tokens and payments in one place with powerful API and deep commercial integrations
Ton Console
Launch a successful business with TON blockchain: manage dapps, tokens and payments in one place with powerful API and deep commercial integrations
Run locally
-
nvm use
2npm i
3npm run dev
Generate api
- Put new swagger.yaml to the
./scripts
-
npm run generate-api
Lint & test
- lint (eslint & prettier):
npm run lint
- test (vitest):
npm run test
- check typings (vite DOESN'T do it automatically):
npx tsc --noEmit
Husky pre-commit hook
Runs lint for staged files and checks typescript typings (You don't have to install or configure husky, it is done automatically)
Build for dev
-
nvm use
-
npm ci
-
npm run build:staging
Build for dev2
-
nvm use
-
npm ci
-
npm run build:staging2
Build for prod
-
nvm use
-
npm ci
-
npm run build