mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2025-10-16 11:55:39 +00:00
* 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
667 B
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