react-bootstrap-table2/docs/development.md
Allen 507e5544de fix #11
* create document

* CONTRIBUTING

* refine contributing docs

* patch for some propTypes definition missing
2017-08-27 10:55:38 -05:00

28 lines
653 B
Markdown

## Development Guide
### Setup
```bash
$ git clone https://github.com/react-bootstrap-table/react-bootstrap-table2.git
$ cd react-bootstrap-table
$ npm install
$ lerna bootstrap # ./node_modules/.bin/lerna bootstrap
```
### Development
```bash
$ npm start
```
### Launch StoryBook
We use [storybook](https://storybook.js.org/) to list our examples and it also have hot reload from source code. Sometime, it is also a good entry point to develop.
```bash
$ cd packages/react-bootstrap-table2-example
$ npm run storybook
```
### Testing
```bash
$ npm test
$ npm run test:watch # for watch mode
$ npm run test:coverage # generate coverage report
```