Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

iflex-react-library

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iflex-react-library

Modern React Ui Component

  • 1.0.47
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

Create React Component Libraries

Build status License: MIT

If you have tried it, let's face it BUILDING REACT COMPONENT LIBRARIES IS NOT EASY. Having used many existing templates utilising webpack or rollup I have been frustrated by various hurdles such as:-

  • Fail to publish to NPM as ESN modules.
  • Does not support SASS
  • Import of modules breaks when you attempt to consume library via an external application
  • Imports break when hooks are used in your component library
  • Developing your test or demonstration environment using npm link is cumbersome and requires rebuilding package, caching headaches and no support for hot loading

This template allows your library to be developed in the src folder. You can place your demonstration / test application in the demo folder and link to it through an alias that matches your externally published package name.

Storybook is also implemented to allow easy testing of your components without building links within the demo foler.

Key Technologies

NPM Distribution Files

iflex-react-library (using rollup) will create distribution files (in dist directory) for Common JS (index.js), ESM Modules (index.modern.js) and UMD (index.umd.js)

Testing

npm start
or
yarn start

Building

npm run build
or
yarn build

Publishing

npm run publish
or
yarn publish

## Storybook

To run a live-reload Storybook server on your local machine:

npm run storybook

Keywords

FAQs

Package last updated on 18 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc