This repository will host reusable react components made for the HospitalRun frontend.
Install components:
yarn add @hospitalrun/components
Install react-bootstrap:
yarn add react-bootstrap
[Optional] You may need node-sass
if you want to import components' .scss
files:
yarn add -D node-sass
Contributions are always welcome. Before contributing please read our contributor guide.
- Fork this repository to your own GitHub account and then clone it to your local device
- Navigate to the cloned folder:
cd components
- Install the dependencies:
yarn
- Run
yarn dev
to build and watch for code changes - In another window, run storybook
yarn storybook
. Story book should open in a your default browser at localhost:6006. - You will be able to test components with storybook and enjoy live reloading!
Contribute to HospitalRun using a fully featured online development environment that will automatically: clone the repo, install the dependencies and start the webserver.
In order to optimize the workflow and to prevent multiple contributors working on the same issue without interactions, a contributor must ask to be assigned to an issue by one of the core team members: it's enough to ask it inside the specific issue.
This repo uses Conventional Commits. Commitizen is recommended for development. Once you have changes staged
you can run git cz
from the root directory in order to commit to the proper standards.
Alternatively, if you are using NPM 5.2+ you can use npx instead of installing globally:
npx git-cz
Cross-browser Testing Platform and Open Source <3 Provided by Sauce Labs
Stefano Casasola |
Michael Daly |
Riccardo Gulin |
Grace Lau |
Jack Meyer |
Matteo Vivona |
---|
John Kleinschmidtr |
Joel Worrall |
Joel Glovier |
---|
Released under the MIT license.