Created
January 19, 2022 07:56
-
-
Save Breta01/8259e3927fa1229e1c1a2d1e8c0e9068 to your computer and use it in GitHub Desktop.
Following packages should be added to configure TypeScript with React
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dependencies": { | |
"@types/jest": "^27.0.3", | |
"@types/node": "^17.0.0", | |
"@types/react": "^17.0.37", | |
"@types/react-dom": "^17.0.11", | |
"typescript": "^4.5.4", | |
... | |
}, | |
"scripts": { | |
"lint": "eslint src --ext .ts,.tsx --fix", | |
... | |
}, | |
"eslintConfig": { | |
"extends": "react-app" | |
}, | |
"devDependencies": { | |
"@types/react-helmet": "^6.1.4", | |
"@typescript-eslint/eslint-plugin": "^5.7.0", | |
"@typescript-eslint/parser": "^5.7.0", | |
"eslint": "^7.11.0", | |
"eslint-config-airbnb": "^19.0.2", | |
"eslint-import-resolver-typescript": "^2.5.0", | |
"eslint-plugin-import": "^2.25.3", | |
"eslint-plugin-jsx-a11y": "^6.5.1", | |
"eslint-plugin-react": "^7.27.1", | |
"eslint-plugin-react-hooks": "^4.3.0", | |
... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment