react-garden

A styleguide based on Leroy Merlin needs - React

Usage no npm install needed!

<script type="module">
  import reactGarden from 'https://cdn.skypack.dev/react-garden';
</script>

README

React Garden

Storybook

To run the Storybook we do:

$ yarn storybook

And open http://localhost:6006/

Testing

To run the tests:

$ yarn test

Generated NPM package to local

$ yarn pack

// I like to move the package to somewhere like my desktop so it would look something like...
$ mv react-garden-0.1.0.tgz ~/temp

// Then go to your consuming project (we will make one in the next step) and run
$ npm install ~/temp/react-garden-0.1.0.tgz