File tree 3 files changed +9163
-9246
lines changed
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
+
1
21
module . exports = {
2
22
extends : [ '@commitlint/config-conventional' ] ,
3
23
} ;
Original file line number Diff line number Diff line change 3
3
"version" : " 0.0.1" ,
4
4
"description" : " a webpack5.x + react + typescript practices" ,
5
5
"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
+ },
6
13
"scripts" : {
7
14
"prepare" : " husky install" ,
8
15
"start" : " npm run dev" ,
32
39
"react-dom" : " ^17.0.2" ,
33
40
"react-helmet-async" : " ^1.0.9" ,
34
41
"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"
39
43
},
40
44
"devDependencies" : {
41
45
"@babel/cli" : " ^7.14.8" ,
118
122
"testEnvironment" : " node"
119
123
},
120
124
"browserslist" : [
121
- " ie >= 10 " ,
125
+ " ie >= 11 " ,
122
126
" ff >= 30" ,
123
127
" chrome >= 34" ,
124
128
" safari >= 8" ,
You can’t perform that action at this time.
0 commit comments