martin-lib is a React component library
Clone project
git clone https://github.com/miguelmartinpas/martin-lib.git
Install dependencies
npm install
It uses github workflow to deploy a publish package in npmjs. Building with rollup librarie
npm run build
It runs UT with Jest and Enzyme
npm run test
npm run test:coverage
Coverage info in https://coveralls.io/github/miguelmartinpas/martin-lib
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
Yu can check design and functionality of each component in a library
npm run storybook
You can install with:
npm install martin-lib