Skip to content

πŸ‘Ά νƒ€μž…μŠ€ν¬λ¦½νŠΈμ™€ ν•¨κ»˜ λ¦¬μ•‘νŠΈ 앱을 λ§Œλ“€κΈ° μœ„ν•œ 졜고의 방법!

Notifications You must be signed in to change notification settings

dl0312/react-typescript-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌌 Frontend Boilerplate with React, TypeScript

Ideal method for creating React apps from beginning

πŸ‘€ Contains

Library Version
react (with 🎣Hooks) ^16.11
react-dom ^16.11
react-router ^5.1
react-scripts 3.2
styled-components ^4.4
typescript 3.6

πŸ”§ Config files

πŸ“„ .eslintrc.json

{ "extends": [ "eslint:recommended", "plugin:react/recommended", "plugin:@typescript-eslint/recommended", "prettier/@typescript-eslint", "plugin:prettier/recommended" ], "plugins": ["react", "@typescript-eslint", "prettier"], "env": { "browser": true, "jasmine": true, "jest": true }, "settings": { "react": { "pragma": "React", "version": "detect" } }, "parser": "@typescript-eslint/parser" }

πŸ“„ tsconfig.json

{ "compilerOptions": { "target": "es5", "lib": ["dom", "dom.iterable", "esnext"], "noImplicitAny": false, "allowJs": true, "skipLibCheck": true, "esModuleInterop": true, "allowSyntheticDefaultImports": true, "strict": true, "forceConsistentCasingInFileNames": true, "module": "esnext", "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, "jsx": "react" }, "include": ["src"] }

πŸ“„ tslint.json

{ "defaultSeverity": "error", "extends": ["tslint:recommended"], "jsRules": {}, "rules": { "quotemark": false, "ordered-imports": false }, "rulesDirectory": [] }

πŸ“„ .prettierrc

{ "singleQuote": true, "semi": true, "useTabs": false, "tabWidth": 2, "trailingComma": "all", "printWidth": 80, "arrowParens": "always", "orderedImports": true }

Installation

$ yarn 

Running

$ yarn start 

Build

$ yarn build 

Reference

License

MIT

About

πŸ‘Ά νƒ€μž…μŠ€ν¬λ¦½νŠΈμ™€ ν•¨κ»˜ λ¦¬μ•‘νŠΈ 앱을 λ§Œλ“€κΈ° μœ„ν•œ 졜고의 방법!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •