Home of the MacGooey Mono Repo.
MacGooey is a collection of components that can be used to quickly build a consistently themed application using reusable components. By extracting components that solve consistent problems across our suite of applications, we can prevent doubling up on components.
Coming soon...
Run npm i -S @macgyver-team/macgooey
and then you can import components and
use them in your applications.
import { Button } from "@macgyver-team/macgooey";
const MyButton = () => <Button>My Button</Button>;
- Start by cloning this repository into a folder on your computer.
- Install node modules by running
npm i
at the project root and in the directorypackages/macgooey
. - In the
packages/macgooey
directory, runnpm run watch
to compile and watch the source files for the UI (Any changes to make to the files underpackages/macgooey/src
will now cause the files to be rebuilt/recompiled automatically). Hot releading will be reflected in the storybook. - In the root directory, run
npm run storybook
. This will start the storybook on port 9002 (by default), which will load any "stories" that are configured in thestories
directory. - Open a web browser to http://localhost:9002.
- Change files in the
packages/macgooey/src
directory and see your changes appear automatically.
- React
- Styled Components for CSS styling
- Flow for types
- Jest & Enzyme for tests
- Rollup for bundling the UI distributable
- Storybook JS & Webpack for running and building the storybook
- Feather Icons