1.0.4 • Published 2 years ago
react-list-ui-library v1.0.4
React List UI Library
This project is a React Library with storybook for a List App.
Setup
First clone the repo:
git clone git@github.com:aleleba/react-list-ui-library.gitThen run:
cd react-list-ui-libraryYou will need to create a new .env file at the root of the project for global config. This is an exaple of config.
#Library Name (Default: ui-library)
LIBRARY_NAME=ui-library
#External CSS (Default: false)
EXTERNAL_CSS=true
#External CSS NAME (Default: index.css)
EXTERNAL_CSS_NAME=other_name.css
#PREFIX URL (Default: '')
PREFIX_URL=For Development
In the terminal run:
npm run startYou will find the components on:
scr/componentsYou will find stories of storybook on:
scr/storiesThis will start the app-library in development mode, also it have Hot Reloading! Enjoy coding!
For Production
In the terminal run:
npm run buildIt will create a dist folder and run:
npm publishThis will publish on npm your package.
Cheers
Hope you enjoy this proyect! Sincerely Alejandro Lembke Barrientos.