You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -81,35 +80,28 @@ and then you'll got todo app as same as Demo. let's modify under the `src/` code
81
80
82
81
### `yarn build`
83
82
84
-
After that You'll get bundled and optimization stuff in `build` directory.
85
-
Also you can run production build with `serve` local webserver modules.
83
+
Production build that bundled optimization stuff in `build` directory.
86
84
87
-
```bash
88
-
yarn global add serve
89
-
serve -s build
90
-
```
91
-
92
-
Official Docs: https://create-react-app.dev/docs/getting-started#npm-run-build-or-yarn-build
93
85
94
86
### `yarn lint`
95
87
96
88
[ESLint](https://eslint.org/) is at the top.
97
-
And setup [TypeScript ESLint](https://github.com/typescript-eslint/typescript-eslint), integrating [Prettier](https://prettier.io/) as a [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier).
89
+
And setup [TypeScript ESLint](https://github.com/typescript-eslint/typescript-eslint), integrating [Prettier](https://prettier.io/) as a [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier).
90
+
Here is [final config list](https://github.com/laststance/eslint-config-typescript-react-pro#explicit-all-rule-set-).
98
91
99
92
### `yarn lint:fix`
100
93
101
-
run wtih eslint --fix option.
94
+
Run wtih eslint --fix option.
95
+
Actually frequently use for perform [Prettier](https://prettier.io/) formatting.
102
96
103
97
### `yarn typecheck`
104
98
105
-
While developing and building, Babel stop transpile with TS error messages.
106
-
I can't find way static typecheck with babel,
107
-
so I'm using original TypeScript via npm and specified `tsc --noEmit` compile option that doesn't generate compiled code.
99
+
Check TypeScript error whole porject.
108
100
109
101
### `yarn test`
110
102
111
-
[Jest](https://jestjs.io/) is all-in-one test-runner built in [React App](https://facebook.github.io/create-react-app/) and covers function-level unit testing to component-behavior-level integration testing.
112
-
The Repo use to[react-testing-library](https://github.com/testing-library/react-testing-library) for component integration testing.
103
+
Run [Jest](https://jestjs.io/).
104
+
Using[react-testing-library](https://github.com/testing-library/react-testing-library) for component integration testing.
0 commit comments