35 lines
290 B
Markdown
35 lines
290 B
Markdown
## Environment Prepare
|
|
|
|
```bash
|
|
yarn
|
|
```
|
|
|
|
### Start project
|
|
|
|
```bash
|
|
yarn start
|
|
```
|
|
|
|
### Build project
|
|
|
|
```bash
|
|
yarn build
|
|
```
|
|
|
|
### Check code style
|
|
|
|
```bash
|
|
yarn lint
|
|
```
|
|
|
|
You can also use script to auto fix some lint error:
|
|
|
|
```bash
|
|
yarn lint:fix
|
|
```
|
|
|
|
### Test code
|
|
|
|
```bash
|
|
yarn test
|
|
``` |