0.0.16 • Published 2 years ago
feer-p-lib v0.0.16
p-lib
This project is a public component library.
It has a storybook to check and see the documentation of the components.
The project has Eslint + prettier, Stylelint, tests with Vitest + React testing library. Plus all of this runs on pre-commit with Husky.
How to use this repo?
1. Clone or copy
Download the repo, cloning or copying it.
Project setup
Environment
For running the project, you need to have installed the proper versions of node and yarn.
When you are ready to start:
# Install node version with NVM if you are using it.
nvm install
# Then install yarn
npm install -g yarn@^1.22.10Dependencies
When you are all ready to go, proceed to install dependencies with yarn.
yarnDevelopment scripts
Compiles and hot-reloads for development
yarn devRun your unit tests
yarn testLints and fixes files
yarn lintLints scss files
yarn lint:cssRun storybook
yarn storybook