commons.ts is a set of NPM packages used at GloCurrency
-
@glocurrency/storage
: Tiny utilities to make use of local storage. -
@glocurrency/money
: Money helpers. -
@glocurrency/time
: Time helpers. -
@glocurrency/use-form
: A React hook to help manage form data. -
@glocurrency/use-get
: A React hook to interact with APIs. -
@glocurrency/ui
: React components.
$ pnpm install
$ # ... do your changes ...
$ pnpm run fmt
$ pnpm run test
$ pnpm run test # will run all tests
$ pnpm run test:watch # will watch tests and only rerun the one who are modified
$ pnpm run test:coverage # will generate a coverage report
You will need to install those additional dependencies:
Run the command from the command palette Dev Containers: Reopen in Container
to open the project in a container.
- Ivan Stasiuk | Twitter | LinkedIn | stasi.uk