react-bootstrap-table2/docs/development.md
Ryan Waskiewicz 569c22ba49 Update development.md with git clone directory (#605)
* Update development.md

- Update directory name that's created after cloning the project
- Remove lerna bootstrap step (appears to be run as a postinstall step in npm scripts)

* Update development.md
2018-10-21 14:45:25 +08:00

667 B

Development Guide

Setup

$ git clone https://github.com/react-bootstrap-table/react-bootstrap-table2.git
$ cd react-bootstrap-table2
$ npm install
$ lerna bootstrap  # ./node_modules/.bin/lerna bootstrap

Development

$ npm run storybook

Launch StoryBook

We use storybook to list our examples and it also has hot reload from source code. Sometimes, it is also a good entry point to development.

$ 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