0.0.5 • Published 4 years ago
martin-lib v0.0.5
Overview
martin-lib is a React componet librarie
Setup
Clone project
git clone https://github.com/miguelmartinpas/martin-lib.git
Install dependencies
npm install
Deploy
It uses github workflow to deploy a publish package in npmjs. Building with rollup librarie
npm run build
Test
It runs UT with Jest and Enzyme
npm run test
##Coverage
npm run test:coverage
Lint & format
It checks code with eslint and prettier
npm run lint
npm run format
I have configured a git hook to fix format in a pre-commit
Storyboard
Yu can check design and functionality of each component in a library
npm run storybook