frontend-utils
A set of utils for frontend projects at Clever (and potentially elsewhere!).
Note that the npm package for this repo, clever-frontend-utils
, is public. Keep that in mind when adding utils.
Developing
To install dependencies, use:
npm install
Building Locally
If you want to build the lib for local use, run:
make build
This will compile lib/
to JavaScript and place the output in the dist/
directory.
Testing
To lint and test, run:
make test
All files ending in _test.ts
will be considered test files by Jest.
Deploying
Merging code to master will automatically result in an npm publish. Remember to version bump in the package.json
!