@lmuresan/the-brain
TypeScript icon, indicating that this package has built-in type declarations

0.0.8 • Public • Published

The Brain

Reliance Health React Components Library

This repo will host all the react components that will be shared across our react apps

List of available components

https://github.com/reliancehealthinc/the-brain/blob/main/docs/list_of_components.md

Development

We are only going to have a main branch that can be updated only by pull request. To have your pr merged you need to comply with the following:

  • unit tests are passing
  • linting is passing
  • at least 1 approve

How to start the project?

To set up the repo, run the commands below, or :

  • make sure you have npm or yarn(version 2) installed
  • Pull Repository git clone git@github.com:reliancehealthinc/the-brain.git
  • Make sure you have node 14 (you can check the version using node --version)
  • Install Dependencies by running npm install
  • Start the storybook (playground for components) npm run storybook
  • Open the following http://localhost:6006/

How to use the library

Install the library

Run npm install @lmuresan/the-brain In your code import the components that you want:

import { Button } from "@lmuresan-thebrain";
...
...
<Button label="My new button" />

Import css into sass/scss

Make sure your webpack has a css loader Add the following line:

@import url(~@lmuresan/the-brain/dist/cjs/thebrain.min.css);

Publish new version of the library

TBC

Publish the new version on the playground

TBC

Contact

Lazar

Readme

Keywords

none

Package Sidebar

Install

npm i @lmuresan/the-brain

Weekly Downloads

2

Version

0.0.8

License

MIT

Unpacked Size

54.8 kB

Total Files

20

Last publish

Collaborators

  • lmuresan