cl-react-graph
Version:
52 lines (33 loc) • 745 B
Markdown
# CL React Graphs
A ReactJS wrapper around some standard D3 charts
## Setup
```
npm i -S cl-react-graph
```
## Documentation
The interactive docs can be found at: https://cognitivelogic.github.io/cl-react-graph/
## Developers
### Building the code
```
npm run build
```
### Publishing to NPM
Ensure that the version number is bumped & publish
```
npm version patch -m "Upgrade to %s for reasons"
npm publish
```
Note you will need to authenticate to NPM to publish.
### Running docs in development mode
To run the docs in development mode
```
cd docs-src
gatsby develop
```
the site will be available on `http://localhost:8000`
### Building the docs
```
cd docs-src
npm run build
```
The docs will be build in `/docs`