Custom Create React App TypeScript Template
$ create-react-app <app_name> --template @phatnguyenuit/typescript
- Inherit from package
cra-template-typescript
- Configure
eslint
withprettier
- Configure
husky
- Configure
lint-staged
- Configure
prettier
- Configure
commitlint
- Configure
release-it
- Add default
jest
test coverage options - Configure sample GitHub actions including test, release and deploy
- Provide sample vscode snippets
- Update
README
- Replace
:user
and:repository
by your own. - Navigate to Codecov login and get
Repository Upload Token
for your repository. - Replace
:TOKEN
with your markdown Codecov badge.
- Replace
- Add repository secrets
DEPLOY_ACCESS_TOKEN
generated fromhttps://github.com/settings/tokens/new
with the first four checked options ofrepo
.