@nulib/admin-react-components
v1.10.0
Published
A collection of Northwestern University Libraries React components, used cross-projects for creating Admin UI interfaces. Style guide via Styleguidist.
Readme
Northwestern Libraries Admin React Components
A collection of Northwestern University Libraries React components, used cross-projects for creating Admin UI interfaces. Style guide via Styleguidist.
Style guide and examples
View the style guide and usage examples:
https://nulib.github.io/admin-react-components/styleguide/
Using the component library and assets
Add the package to your React project:
npm install --save @nulib/admin-react-componentsDeveloping
To develop in the component repository:
- Clone the project
- Enter the
admin-react-componentsdirectory:cd admin-react-components - Install dependencies
npm installUse Styleguidis for a development environment. Run:
npm run styleguidewhich will spin up a local Styleguidist webpack dev server that handles live-reloading as you write tests, build out components, and write documentation.
Running the tests
npm run test
// or
npm run test:watchBuilding the package
To build the package, we use Rollup:
npm run buildTo directly build the latest version of the style guide:
npm run styleguide:buildADR
To document architecture decisions, we use the adr-tools package. To document a new architecture decision via adr-tools markdown template generator, run:
adr new your-text-hereBuilt With
- React - JavaScript components
- Bulma - UI CSS only framework
- Styleguidist - Used as development environment and style guide
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Adam J. Arling - Developer - Northwestern Univeristy Libraries Github
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE.md file for details
