1.0.14 • Published 4 months ago
@enso-bot/enso-fe-sdk v1.0.14
Enso Frontend SDK
A reusable React SDK/package for shared components, hooks, utilities, and services across multiple React applications.
Installation
npm install enso-fe-sdk
Usage
import /* your exports */ "enso-fe-sdk";
Package Structure
/hooks
– Shared React hooks/utils
– General-purpose utility functions/services
– Shared logic like API wrappers, localStorage helpers/config
– Shared configuration and constants/components
– Optional shared UI components
Development
Setup
npm install
Build
npm run build
Development Mode
npm run dev
Testing
npm test
npm run test:run # Run tests once
Type Checking
npm run type-check
Linting
npm run lint
Publishing
npm run prepublishOnly
npm publish
Peer Dependencies
- React >= 16.8.0
- React DOM >= 16.8.0
License
MIT