typescript on frontend

This commit is contained in:
Jan Prochazka
2020-01-09 22:30:53 +01:00
parent 20a55fdd7c
commit c819aac098
17 changed files with 139 additions and 44 deletions

View File

@@ -23,7 +23,8 @@
"start:silent": "cross-env BROWSER=none PORT=5000 react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
"eject": "react-scripts eject",
"ts": "tsc"
},
"browserslist": {
"production": [
@@ -38,6 +39,9 @@
]
},
"devDependencies": {
"@fortawesome/fontawesome-free": "^5.12.0"
"@fortawesome/fontawesome-free": "^5.12.0",
"@types/react": "^16.9.17",
"@types/styled-components": "^4.4.2",
"typescript": "^3.7.4"
}
}