0.11.10 • Published 5 years ago
hbg-react v0.11.10
hbg-react
Library of reusable React components
Installation
npm install --save-dev hbg-react
Then require the components you want to use:
import {Dropdown, Button} from 'hbg-react';
Local Development
- This library uses nwb for building assets and requires it to be installed globally
npm install -g nwb
- Clone the repo into a own directory
git clone git@github.com:helsingborg-stad/hbg-react.git hbg-react
- Go to the directory and install dependencies:
cd hbg-react
npm install
- Start development server
npm run start
Publish package
- Go to hbg-react directory and make sure you are logged in:
npm whoami
- Run npm version to bump package version, build assets and add version commit.
npm version patch | minor | major
- Review the generated commit, if happy run npm publish - this will push to origin master (with tags) & publish NPM package.
npm publish
To do
- Write tests for each component
- Demo page
0.11.10
5 years ago
0.11.9
5 years ago
0.11.8
5 years ago
0.11.7
5 years ago
0.11.6
5 years ago
0.11.5
5 years ago
0.11.4
5 years ago
0.11.3
5 years ago
0.11.2
5 years ago
0.11.1
5 years ago
0.11.0
5 years ago
0.10.3
5 years ago
0.10.2
5 years ago
0.10.1
5 years ago
0.10.0
5 years ago
0.9.0
5 years ago
0.8.0
5 years ago
0.7.0
5 years ago
0.6.4
5 years ago
0.6.3
5 years ago
0.6.2
5 years ago
0.6.1
5 years ago
0.6.0
5 years ago
0.5.0
5 years ago
0.4.14
5 years ago
0.4.13
5 years ago
0.4.12
5 years ago
0.4.11
5 years ago
0.4.10
5 years ago
0.4.8
5 years ago
0.4.7
5 years ago
0.4.6
5 years ago
0.4.5
5 years ago
0.4.2
5 years ago
0.4.1
5 years ago
0.4.0
5 years ago
0.3.4
6 years ago
0.3.3
6 years ago
0.3.2
6 years ago
0.3.1
6 years ago
0.3.0
6 years ago
0.2.0
6 years ago
1.0.0
6 years ago