cv-library-react-web

0.1.34 • Public • Published

Xalt UI React Web Component Library

Table of Contents:

Overview

This project houses code that pertains to the Xalt UI React component library for web platforms. This contains our client UI component code and supporting libraries. The overall goal of this project is to keep a single source of truth for the UI building blocks of Xalt web applications.

Getting Started

Before you can start working on the Xalt UI React component library, you'll need to set some things up first depending on your development environment OS.

  • NodeJS must be installed on your machine.
  • Yarn must be installed on your machine.
  • Clone this repo

Standalone using NPM

  • In a terminal/console, navigate to the root of the project and run the following command:

      npm install
    

Standalone using YARN

  • In a terminal/console, navigate to the root of the project and run the following command:

      yarn install
    

With Lerna project

This will setup your environment for development and link the necessary libraries inside this repository. Afterwards you will be able to make changes in any of the libraries and test those changes running the client. Please notice that we are hoisting some node_modules to the root directory. Lerna and yarn workspaces are used to provided support for linking to projects inside this repository. Lerna will also be used for publishing your changes to the projects specific npm module after a successful merge with master. Lerna will keep the projects in sync with repo changes so that the build process will always use the latest version of your changes in any package.

After installing yarn:

  • In a terminal/console, navigate to the root of the Lerna project and run the following command:

      lerna bootstrap
    

Running the HTML Library

To start the Storybook web server on http://localhost:9009:

npm run storybook-web

To manually generate the test report output file:

npm run test:generate-output

Package Sidebar

Install

npm i cv-library-react-web

Weekly Downloads

44

Version

0.1.34

License

Apache-2.0

Unpacked Size

1.7 MB

Total Files

111

Last publish

Collaborators

  • aresha