0.1.6 • Published 2 years ago

gw-gel-poc v0.1.6

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

GW React Component Library POC

Get Started

To get started clone the repo and then run npm i to install the component libraries dependencies.

Storybook

To view the components run npm run storybook to run Storybook locally. This will show you all of the components in the component library.

Testing

To test the components run npm run test. This will run all of the Jest tests in the component library.

Publishing updates

When making updates to the component library they must be published to the NPM registry. Update the version of the component library in the package.json file and commit the changes to GitLab.

Next compile the index.js files by running npm run rollup.

You can then publish the updates by running npm publish.

Using the component library

To use the component library on a separate project you will first need to install the library by running npm i gw-gel-poc --save-dev.

You will then be able to use components from the component library in your project. To do this you will need to import the library, for example, import { Button } from 'gw-gel-poc';.

Then use will be able to use the component, for example: <Button label='Hello world!' />.

You will be able to see how to use the components via Storybook.

0.0.20

2 years ago

0.0.21

2 years ago

0.0.22

2 years ago

0.0.23

2 years ago

0.0.15

2 years ago

0.0.16

2 years ago

0.0.17

2 years ago

0.0.18

2 years ago

0.0.19

2 years ago

0.1.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago