0.1.2 • Published 4 years ago
gibraltar-dls v0.1.2
About
This project has an React-based approach of building Design Systems
Tech Stack
- React 17
- Jest
- Rollup
- SASS
- Storybook (Plus Addons)
Install
This repository uses the Long Term Support (LTS) version of Node, which is defined in the .nvmrc file. At the moment that version is 16.14.2. Ensure the team is using the same Node version using nvm (node version manager).
Follow the next steps to run the local development server and the production build:
- Install Node dependencies.
npm i- Start Development server with Storybook.
npm run start- To build the project for distribution, we use Rollup behind de scenes.
npm run buildTools
This setup includes custom tools to increase productivity.
Generate a new Component
Interative tool for creating the scappfolding for a single Component:
npm run generate:component --name=Card
npm run generate:component --name=Navigation
npm run generate:component --name=Page