React Typescript Template
React Typescript Project Boilerplate
Get Started
yarn
Eslint
Uses Create React App configs
Prettier
Uses in conjuction with Eslint with
eslint-plugin-prettier
&eslint-config-prettier
Storybook
Start the development server
yarn storybook
Build the storybook
yarn build-storybook
Build
Build the components ready for packages with tree shaking ability into
dist
folder
yarn build
Release
Release a new version
yarn release
Note: to release a package
For Github Release, we use conventional-github-releaser. Create a new Github Token as per the docs and export to the CLI env like
export CONVENTIONAL_GITHUB_RELEASER_TOKEN=xxxx
Commit
git add . && yarn commit
Uses gacp
- Runs Husky to improve the commits.
- Husky runs Lint Staged as a pre-commit hook to run lintes & formatters
- Husky lints the commit message with Commitlint
✨
Contributors Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!