@phatnguyenuit/cra-template-typescript
v1.3.0
Published
Custom create react app template with TypeScript and some helpful features
Downloads
42
Maintainers
Readme
Custom Create React App TypeScript Template
Custom Create React App TypeScript Template
Using
$ create-react-app <app_name> --template @phatnguyenuit/typescript
Features
- 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
Configure
- 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
.