The UI component framework for Ameelio: a non-profit technology company committed to transforming prison communications.
You can consume this component library in your own project.
Install AmeelioUI as a dependency
npm install --save ameelioui
In your app, import ameelioui/dist/css/custom.css
.
Documentation for all components can be viewed in the hosted style guide.
Individual components can be imported individualy. For example:
import Button from 'ameelioui/dist/components/Button';
You can then use this Button
component:
<Button variant="secondary">Click me</Button>
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
To install dependencies run
npm install
To start the local development server run
npm start
This runs the interactive component style guide.
Open http://localhost:6060/ to view it in the browser.
npm test
To generate a production style guide build run
npm run build
Builds the style guide assets for deployment to the build/docs
folder. Merges to master are automatically deployed to GitHub Pages.
To release a new version of AmeelioUI, do the following to create a release branch. Replace version_type with major
, minor
or patch
as appropriate, based on SemVer:-
git checkout -b your-release-branch
npm version version_type -m "Release version %s"
git push
git push --tags
This will add a commit that updates package.json
and package-lock.json
with the updated version number.
Once this branch's PR is merged to master, do the following to publish the release so it can be consumed from npm:-
# requires an npm user with permissions to release
git checkout master
git pull
npm install
npm run build
npm publish
- React - The web framework used
- Create React App - Project bootstrapping
- React Styleguidist - Interactive style guide
- React-Bootstrap - Base component library
Please read CODE_OF_CONDUCT.md for details on our code of conduct, and CONTRIBUTING.md for the process for submitting pull requests to us.
See the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details