Skip to content

JDarke/components

 
 

Repository files navigation

HospitalRun Components

NPM Version GitHub CI Coverage Status Language grade: JavaScript Bundlephobia FOSSA Status dependabot Commitizen friendly semantic-release Netlify Status Gitpod Ready-to-Code Slack

This repository will host reusable react components made for the HospitalRun frontend.


Install

Install components:

npm install @hospitalrun/components

Install react-bootstrap:

npm install react-bootstrap

[Optional] You may need node-sass if you want to import components' .scss files:

npm install node-sass --save-dev

Contributing

Contributions are always welcome. Before contributing please read our contributor guide.

  1. Fork this repository to your own GitHub account and then clone it to your local device
  2. Navigate to the cloned folder: cd components
  3. Install the dependencies: npm install
  4. Run npm run dev to build and watch for code changes
  5. In another window, run storybook npm run storybook. Story book should open in a your default browser at localhost:6006.
  6. You will be able to test components with storybook and enjoy live reloading!

Online one-click setup for contributing

Contribute to HospitalRun using a fully featured online development environment that will automatically: clone the repo, install the dependencies and start the webserver.

Open in Gitpod

Working on an Issue

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.

How to commit

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


Behind HospitalRun

Hosted by

Sponsors

Sponsors

Big Thanks

Cross-browser Testing Platform and Open Source <3 Provided by Sauce Labs

Backers

Backers

Lead Maintainer


Maksim Sinik


Jack Meyer

Matteo Vivona

Stefano Casasola

Kumiko Kashii

Grace Lau

Stefano Miceli

Medical Supervisor


M.D. Daniele Piccolo

Past Contributors


Michael Daly

Contributors

Contributors

Founders


John Kleinschmidtr

Joel Worrall

Joel Glovier

License

Released under the MIT license.

About

Reusable React components used by HospitalRun

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 97.3%
  • JavaScript 2.2%
  • CSS 0.5%