The repository uses Rush for monorepo management.
$ npm i -g @microsoft/rush
$ rush update
-
Build all packages:
$ rush build
-
Watch and rebuild all libraries:
$ rush build:watch
-
Start demo dev-server:
$ cd apps/demo $ npm run dev
Usually you need two terminals to run both 2 and 3.
WebUSB and Service Worker (which is used for file downloading) requires Secure Context (HTTPS or localhost).
If you access the development server using IP address, that will not work.
You can add a self issued SSL certificate, or add the URL to chrome://flags/#unsafely-treat-insecure-origin-as-secure
.