modern-react-template
v1.2.1
Published
如果你不想麻烦自己配置一系列的 linter,actions等,可以试试这个。
Downloads
1
Readme
Modern React Template
如果你不想麻烦自己配置一系列的 linter,actions等,可以试试这个。
Getting started
# clone the project
git clone [email protected]:RunningLiLi/modern-react-template.git
# enter the project directory
cd modern-react-template
# install dependency
pnpm install
# develop
pnpm run dev
Git
#add
git add .
#commit,有友好的提示
pnpm run cz
使用 standard-version
自动更新日志,版本信息等
Build
# build for production environment
pnpm run build
Advanced
# preview the release environment effect
pnpm preview
# code check
pnpm lint
# code auto fix
pnpm format
Dependencies
- React
- React Router
- TypeScript
- Vite
- ESLint
- Prettier
- Commitlint
- husky
- standard-version
- commitizen
- pretty-quick
- lint-staged
License
MIT
Copyright (c) 2023 runninglili