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

653 B

Development Guide

Setup

$ 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

$ npm start

Launch StoryBook

We use storybook to list our examples and it also have hot reload from source code. Sometime, it is also a good entry point to develop.

$ cd packages/react-bootstrap-table2-example
$ npm run storybook

Testing

$ npm test
$ npm run test:watch  # for watch mode
$ npm run test:coverage  # generate coverage report