-
Install dependencies.
yarn
-
Serve with hot reload at http://localhost:5173.
yarn dev
-
If you want to connect to the local node you may need to run cors middleware:
yarn corsLater you can connect to your node using URL:
http://localhost:8080/0.0.0.0:9071
- Run eslint
yarn lint
- Run eslint with fixing
yarn lint:fix
yarn build- Run tests with coverage (will open the coverage if all tests succeed)
yarn test - Watch tests
yarn test:watch
This project use commitlint to ensure that commit messages are conventional-changelog compliants.
To help you build more efficient commit messages, you can use the commitizen package by running this command :
yarn czFor better developer experience there are some ENV variables that is available ONLY for dev mode (yarn dev) and won't be used in the built code due to the security reasons.
APP_VERSION— SemVer of Smesher App to be used instead of one inpackage.jsonVERSIONS_JSON_URL— full URL to the file that maps minimal Smesher Service Version to the latest Smesher App VersionOFFICIAL_HOSTED_URL— the first segment of URL (protocol and hostname), will be used for proposal to switch to another hosted version