File tree Expand file tree Collapse file tree 3 files changed +860
-42
lines changed Expand file tree Collapse file tree 3 files changed +860
-42
lines changed Original file line number Diff line number Diff line change
1
+ /*!
2
+ * React Native Autolink
3
+ *
4
+ * Copyright 2016-2020 Josh Swan
5
+ * Released under the MIT license
6
+ * https://github.com/joshswan/react-native-autolink/blob/master/LICENSE
7
+ */
8
+
9
+ module . exports = {
10
+ extends : [ '@commitlint/config-conventional' ] ,
11
+ } ;
Original file line number Diff line number Diff line change 35
35
"devDependencies" : {
36
36
"@babel/core" : " ^7.8.4" ,
37
37
"@babel/preset-typescript" : " ^7.8.3" ,
38
+ "@commitlint/cli" : " ^8.3.5" ,
39
+ "@commitlint/config-conventional" : " ^8.3.4" ,
38
40
"@types/jest" : " ^25.1.2" ,
39
41
"@types/react" : " ^16.9.19" ,
40
42
"@types/react-native" : " ^0.61.12" ,
47
49
"eslint-plugin-jsx-a11y" : " ^6.2.3" ,
48
50
"eslint-plugin-react" : " ^7.14.3" ,
49
51
"eslint-plugin-react-hooks" : " ^1.7.0" ,
52
+ "husky" : " ^4.2.1" ,
50
53
"jest" : " ^25.1.0" ,
51
54
"jest-junit" : " ^10.0.0" ,
52
- "react" : " 16.12.0" ,
53
- "react-dom" : " 16.12.0" ,
55
+ "react" : " 16.9.0" ,
54
56
"react-native" : " ^0.61.5" ,
55
57
"react-test-renderer" : " ^16.12.0" ,
56
58
"typescript" : " ^3.7.5"
57
59
},
58
60
"peerDependencies" : {
59
61
"react-native" : " >=0.25.0"
60
62
},
63
+ "husky" : {
64
+ "hooks" : {
65
+ "commit-msg" : " commitlint -E HUSKY_GIT_PARAMS"
66
+ }
67
+ },
61
68
"jest" : {
62
69
"preset" : " react-native" ,
63
70
"transformIgnorePatterns" : [
You can’t perform that action at this time.
0 commit comments