File tree Expand file tree Collapse file tree 3 files changed +9163
-9246
lines changed Expand file tree Collapse file tree 3 files changed +9163
-9246
lines changed Original file line number Diff line number Diff line change 1+ // git commit 规范
2+ // <类型>[可选的作用域]: <描述>
3+
4+ // # 主要type
5+ // feat: 增加新功能
6+ // fix: 修复bug
7+
8+ // # 特殊type
9+ // docs: 只改动了文档相关的内容
10+ // style: 不影响代码含义的改动,例如去掉空格、改变缩进、增删分号
11+ // build: 构造工具的或者外部依赖的改动,例如webpack,npm
12+ // refactor: 代码重构时使用
13+ // revert: 执行git revert打印的message
14+
15+ // # 暂不使用type
16+ // test: 添加测试或者修改现有测试
17+ // perf: 提高性能的改动
18+ // ci: 与CI(持续集成服务)有关的改动
19+ // chore: 不修改src或者test的其余修改,例如构建过程或辅助工具的变动
20+
121module . exports = {
222 extends : [ '@commitlint/config-conventional' ] ,
323} ;
Original file line number Diff line number Diff line change 33 "version" : " 0.0.1" ,
44 "description" : " a webpack5.x + react + typescript practices" ,
55 "main" : " index.js" ,
6+ "repository" : {
7+ "type" : " git" ,
8+ "url" : " https://github.com/JS-banana/webpack-react-ts"
9+ },
10+ "bugs" : {
11+ "url" : " https://github.com/JS-banana/webpack-react-ts/issues"
12+ },
613 "scripts" : {
714 "prepare" : " husky install" ,
815 "start" : " npm run dev" ,
3239 "react-dom" : " ^17.0.2" ,
3340 "react-helmet-async" : " ^1.0.9" ,
3441 "react-hot-loader" : " ^4.13.0" ,
35- "react-redux" : " ^7.2.4" ,
36- "react-router-dom" : " ^5.2.0" ,
37- "redux" : " ^4.1.1" ,
38- "redux-saga" : " ^1.1.3"
42+ "react-router-dom" : " ^5.2.0"
3943 },
4044 "devDependencies" : {
4145 "@babel/cli" : " ^7.14.8" ,
118122 "testEnvironment" : " node"
119123 },
120124 "browserslist" : [
121- " ie >= 10 " ,
125+ " ie >= 11 " ,
122126 " ff >= 30" ,
123127 " chrome >= 34" ,
124128 " safari >= 8" ,
You can’t perform that action at this time.
0 commit comments