flare-ui-components

0.0.12 • Public • Published

FLARE Cloud UI Components

A React/Redux/Material component library for FLAREcloud user interfaces

Pre-requisites

  1. Install Node.js
  2. Install Docker
  3. Install the FLARE client PKI certs in your browser. When you load the app your browser will prompt you to pick a certificate, which is analogous to picking which test user you want to log in as.

Serve the "development" version of the site

npm install Install all dependencies

npm run start

  • This runs Webpack and Webpack Dev Server, which builds and serves the website locally (i.e., it creates a web server on localhost:3000). If you would like to modify the port, read the ReactCreateApp documentation.
  • After running the command the app should pop up on your default browser

Running Unit Tests

npm run test

Will run the Jest/Enzyme Unit tests. To get code coverage:

npm run test -- --coverage

Publishing changes

Build the Library

npm run build-lib

Note that you will need to be logged into the npm repository https://docs.npmjs.com/private-modules/intro

Will produce /lib

Make sure to modify the version in the package.json according to the semantic version standards: https://semver.org/

npm publish

Readme

Keywords

none

Package Sidebar

Install

npm i flare-ui-components

Weekly Downloads

1

Version

0.0.12

License

MIT

Unpacked Size

432 kB

Total Files

3

Last publish

Collaborators

  • flareproject