mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-22 19:44:21 +00:00
1.1 KiB
1.1 KiB
Contributing
Feel free to contribute to bluelib at any time, adding new rules, themes or anything else through pull requests!
Structure
- src contains the project source
- components contains all components provided by this module with the following structure
Component
, a folder with the name of the componentindex.js
, a JSX file default-exporting the React componentReadme.md
, a Markdown file which contains the text to be displayed in the documentation; code blocks additionally act as examples where the component is automatically imported, allowing the developer to edit them in real time
- contexts contains all React contexts used by this module
- hooks contains all custom React hooks used by this module
- utils contains miscellaneous functions with a variety of uses
- components contains all components provided by this module with the following structure
Compiling
To build this module, run:
npm run build
Publish
To publish this module on npm, run:
npm publish