mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2026-10-04 09:16:53 +00:00
fix #11
* create document * CONTRIBUTING * refine contributing docs * patch for some propTypes definition missing
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
## 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
|
||||
```
|
||||
Reference in New Issue
Block a user