A set of utility functions for integrating ec-react-components with API responses.
-
Package name:
@socotra/ec-react-utils
-
Repo Path:
packages/utils
-
Install:
npm i @socotra/ec-react-utils
-
Usage:
import { myUtilityFunction } from '@socotra/ec-react-utils';
To build the package:
pnpm run build
To run tests:
pnpm run test
To run the linter:
pnpm run lint
To run the sandbox
cd ../sandbox
pnpm run dev
Installing directly for local development
pnpm i ../path/to/this/packages/components