Install yarn. MasterPassX makes use of yarn's workspaces.
- Clone project,
cd
into it. - Run
yarn
in the root directory of the project. This will get all dependencies for all sub-modules (web
,cli
,core
). - Code!
cd web
Run development mode:
yarn watch
Run tests:
yarn test
Build to build
:
yarn build
cd cli
Build & run:
yarn build-start <args>
Build to dist
:
yarn build
Before committing, run yarn prettier
(in the root or in any submodules) to format the files with Prettier.