Design System React, Styled Component and Storybook.
npm install diffuse-dsDiffuse is a Design System built with React.
This project uses Yarn, JavaScript, Storybook, Sass, Styled Components, React.
Maybe you want to read about them:
- Yarn
- JavaScript
- Storybook
- Sass
- Styled Components
- React
This project also uses Husky to prevent commit and push messy and wrong code.
This project contains shareable styles of components, UI Components using React and Storybook's presentation and build configs need to stay here.
#### Install
``sh`
yarn install
#### Run storybook library
`sh`
yarn storybook
- To test on a project that is consuming our package we can run our project with
` sh`
yarn run build:npm:watch
- To be exposed as a local package
` sh`
npm link
- In the project that consumes this package we will run the command
` sh`
npm link diffuse-ds
- To prepare your package to be published:
` sh`
yarn build:lib
- If you haven’t already, sign-up to npm.
- Go into your terminal.
` sh`
npm login
` sh``
npm publish
Copyright © 2022