Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
SokichiFujita committed Mar 18, 2019
1 parent 7747f69 commit a0eab48
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 17 deletions.
24 changes: 7 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,45 +69,35 @@ npm start                     // Launch the app with webpack-dev-serve

![](./images/app2.png)

#### Bundle analyzing with Webpack Bundle Analyzer
### Production build with Webpack

```
npm run bundle-analyze
npm run build                 // Build the app into the ./public directory.
```

This command also analyzes the bundle file using Webpack Bundle Analyzer and generates reports.

![](./images/webpack-bundle-analyzer.png)

#### Testing with Jest
### Testing with Jest

```
npm test                     // Testing with Jest.
npm run update_test // Update snapshot testing.
```

![](./images/test.png)

#### Static analysis with ESLint
### Static analysis with ESLint

```
npm run lint                 // Check the code by ESLint with AirBnb's style guideline.
```

![](./images/lint.png)

#### Automatic code format with Prettier and ESLint
### Automatic code format with Prettier

```
npm run fix // Fix the code by Prettier with AirBnb's guidline.
```

![](./images/fix.png)

#### Production build with Webpack

```
npm run build                 // Build the app into the ./public directory.
```

## Directory structure of the generated app

```
Expand Down
Binary file removed images/fix.png
Binary file not shown.
Binary file removed images/lint.png
Binary file not shown.
Binary file removed images/test.png
Binary file not shown.

0 comments on commit a0eab48

Please sign in to comment.