miguelmartinpas / martin-lib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Coverage Status

Overview

martin-lib is a React component library

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

Coverage info in https://coveralls.io/github/miguelmartinpas/martin-lib

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

http://localhost:6006/

You can install with:

npm install martin-lib

About


Languages

Language:TypeScript 75.2%Language:JavaScript 14.1%Language:CSS 10.6%