@enso-bot/enso-fe-sdk
v1.0.84
Published
A reusable React SDK/package for shared components, hooks, and utilities
Readme
Enso Frontend SDK
A reusable React SDK/package for shared components, hooks, utilities, and services across multiple React applications.
Installation
npm install enso-fe-sdkUsage
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 installBuild
npm run buildDevelopment Mode
npm run devTesting
npm test
npm run test:run # Run tests onceType Checking
npm run type-checkLinting
npm run lintPublishing
npm run prepublishOnly
npm publishPeer Dependencies
- React >= 16.8.0
- React DOM >= 16.8.0
License
MIT
