@cyber-harbour/ui v1.0.44
Getting Started with Cyber Harbor UI Kit
Development
Installation
npm installBuilding the Library
The library is built using tsup, which provides optimized builds for both ESM and CommonJS formats.
# Development with watch mode
npm run dev
# Production build
npm run build
# Build without minification
npm run build:dev
# Type checking without build
npm run type-checkBuild Output
When building the library, the following is generated in the dist folder:
- ESM modules (
.mjsfiles) - CommonJS modules (
.jsfiles) - TypeScript declaration files (
.d.tsand.d.mts) - Source maps
Storybook
You can run Storybook to develop and test components:
npm run storybookTo build Storybook:
npm run build-storybookBuild Optimizations
The project uses various optimizations for efficient building:
Production Mode
- Minification of the output files
- Tree shaking to remove unused code
- Console logs removal
- Source maps for debugging
Development Mode
- Watch mode for auto-rebuilding on changes
- Inline source maps for easier debugging
- No minification for faster builds
- No type generation for speed
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago