UNPKG

@devopness/ui-react

Version:

Devopness Design System React Components - Painless essential DevOps to everyone

82 lines (52 loc) โ€ข 2.09 kB
# Devopness UI - React The official Devopness UI components for React ## Usage ### Install/Upgrade Use your favourite package manager to install Devopness UI as a dependency of your project: ```bash # Using npm npm install @devopness/ui-react # Using yarn yarn add @devopness/ui-react ``` ## โœ๏ธ <a id="contributing"></a>Contributing Improvements and contributions are highly encouraged! ๐Ÿ™๐Ÿ‘Š See the [contributing guide](../../../CONTRIBUTING.md) for details on how to participate. All communication and contributions to Devopness projects are subject to the [Devopness Code of Conduct](../../../CODE_OF_CONDUCT.md). Not yet ready to contribute but do like the project? Support Devopness with a โญ! ## Dependencies This component library uses: - โš›๏ธ [React](https://react.dev/) โ€” JavaScript library for user interfaces - ๐Ÿ“– [Storybook](https://storybook.js.org/) โ€” Frontend workshop for UI development - ๐Ÿ’… [Styled Components](https://styled-components.com/) - CSS-in-JS library for styling components - โšก [Vite](https://vite.dev/) โ€” The build tool for the web - ๐Ÿ“ฆ [SWC (Speedy Web Compiler)](https://swc.rs/) โ€” Rust based compiler used to speed up Vite dev server - ๐Ÿงช [Vitest](https://vitest.dev/) โ€” Vite-native testing framework - ๐Ÿ™ [React Testing Library](https://testing-library.com/docs/react-testing-library/intro/) - A light-weight solution for testing React components As well as a few others tools configured: - [TypeScript](https://www.typescriptlang.org/) for static type checking - [ESLint](https://eslint.org/) for code linting - [Prettier](https://prettier.io) for code formatting ## Development & Testing Installing on `Linux` or `macOS` systems. #### 1. Navigate to the project directory ```shell cd packages/ui/react/ ``` #### 2. Install missing dependencies This command will install all modules listed as dependencies in [package.json](package.json). ``` npm install ``` #### 3. Build UI package ``` npm run build ``` #### 4. Run tests ``` npm run test ``` #### 5. Run storybook ``` npm run storybook ```