| Package | Version |
|---|---|
| react | ^16.13 |
| react-dom | ^16.13 |
| react-router | ^5.2 |
| react-scripts | 3.4 |
| styled-components | ^5.2 |
| typescript | ^4.0 |
| @typescript-eslint | ^4.4 |
{
"parser": "@typescript-eslint/parser",
"plugins": ["react", "@typescript-eslint", "prettier"],
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"rules": {
"@typescript-eslint/explicit-module-boundary-types": "off"
},
"settings": {
"react": {
"version": "detect"
}
}
}{
"printWidth": 80,
"singleQuote": true,
"trailingComma": "all",
"tabWidth": 2,
"useTabs": false,
"semi": true
}TypeScriptμ μ»΄νμΌλ¬ μ΅μ
μ μ€μ νλ tsconfig.jsonμ Create React App νλ‘μ νΈμ κΈ°λ³Έ μ€μ μ λ°λ¦
λλ€.
$ yarn
yarn start
yarn build
