You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
475 B
Markdown
50 lines
475 B
Markdown
# POP-B2B2C-ADMIN
|
|
|
|
## Environment Prepare
|
|
|
|
Install `node_modules`:
|
|
|
|
```bash
|
|
npm install
|
|
```
|
|
|
|
or
|
|
|
|
```bash
|
|
yarn
|
|
```
|
|
|
|
## Provided Scripts
|
|
|
|
Scripts provided in `package.json`. It's safe to modify or add additional script:
|
|
|
|
### Start project
|
|
|
|
```bash
|
|
npm start
|
|
```
|
|
|
|
### Build project
|
|
|
|
```bash
|
|
npm run build
|
|
```
|
|
|
|
### Check code style
|
|
|
|
```bash
|
|
npm run lint
|
|
```
|
|
|
|
You can also use script to auto fix some lint error:
|
|
|
|
```bash
|
|
npm run lint:fix
|
|
```
|
|
|
|
### Test code
|
|
|
|
```bash
|
|
npm test
|
|
```
|