File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 61
61
62
62
## 文档
63
63
64
- - https://www. easyjs.cn/egg-vue
65
- - https://www. easyjs.cn/easywebpack
64
+ - https://easyjs.cn/egg-vue
65
+ - https://easyjs.cn/easywebpack
66
66
- https://www.yuque.com/easy-team/egg-vue
67
67
- https://zhuanlan.zhihu.com/easywebpack
68
68
Original file line number Diff line number Diff line change 15
15
"ii" : " npm install --registry https://registry.npm.taobao.org" ,
16
16
"changelog" : " conventional-changelog -p angular -i CHANGELOG.md -s"
17
17
},
18
+ "husky" : {
19
+ "hooks" : {
20
+ "pre-commit" : " lint-staged"
21
+ }
22
+ },
23
+ "lint-staged" : {
24
+ "**/*.{js, vue}" : [
25
+ " npm run lint" ,
26
+ " git add"
27
+ ]
28
+ },
18
29
"dependencies" : {
19
30
"axios" : " ^0.18.1" ,
20
31
"cross-env" : " ^5.0.0" ,
54
65
"eslint" : " ^4.19.1" ,
55
66
"eslint-config-egg" : " ^5.0.0" ,
56
67
"eslint-plugin-vue" : " ^4.4.0" ,
68
+ "husky" : " ^4.2.5" ,
57
69
"ip" : " ^1.1.5" ,
58
70
"raw-loader" : " ^3.0.0"
59
71
},
You can’t perform that action at this time.
0 commit comments