@habitvs/design-system
v0.0.26
Published
React cross-project components for Habitvs
Readme
:rocket: Technologies
This project was developed with the following technologies:
:information_source: Architecture
This projects was developed with the following principles, design patterns and methodologies:
Principles
- Single Responsibility Principle (SRP)
- Open Closed Principle (OCP)
- Liskov Substitution Principle (LSP)
- Interface Segregation Principle (ISP)
- Dependency Inversion Principle (DIP)
- Separation of Concerns (SOC)
- Don't Repeat Yourself (DRY)
- You Aren't Gonna Need It (YAGNI)
- Keep It Simple, Silly (KISS)
- Composition Over Inheritance
Design Patterns
- Factory
- Adapter
- Composite
- Dependency Injection
- Abstract Server
- Composition Root
- Builder
Methodologies
- TDD
- Clean Architecture
- DDD
- Conventional Commits
- GitFlow
- Modular Design
- Use Cases
- Continuous Integration
- Continuous Delivery
- Continuous Deployment
:package: Installation
Install project
Use recommended node version
$ nvm install
$ nvm useInstall dependencies
$ npm installIf you get npm ERESOLVE error, run
$ npm install --forceFor Development
Run storybook
$ npm startRun unit tests
$ npm run test:watchGenerate tarball to use for testing in another project
$ npm packInstall tarball (from the other project)
$ npm install path/to/this/repo/habitvs-design-system-version.tgzFor production
Run all tests and generate coverage report
$ npm run jest:ciBuild
$ npm run buildBuild Storybook
$ npm run build:storybook