File tree 5 files changed +8
-3
lines changed
5 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1
1
LICENSE
2
2
README.MD
3
+ .gitignore
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ To inject custom scripts and remove unnecessary files.
27
27
### Includes
28
28
29
29
- [x] ESlint (extends Airbnb) v4.19.1
30
+ - [x] Husky v1.1.2
30
31
- [x] Lint Staged v7.3.0
31
32
- [x] Prettier v1.14.3
32
33
- [x] Flow v0.84.0
@@ -38,7 +39,6 @@ To inject custom scripts and remove unnecessary files.
38
39
- [x] ` android:shake ` - Show DEV menu
39
40
- [x] ` ios:install ` - Run in Release mode
40
41
- [x] ` project:clean ` - Clean project
41
- - [x] ` precommit ` - Run tasks before commit
42
42
- [x] ` prettier:check ` - Check for unformatted files
43
43
- [x] ` prettier:all ` - Format files
44
44
- [x] ` lint ` - Run lint
@@ -50,7 +50,6 @@ To inject custom scripts and remove unnecessary files.
50
50
### Roadmap
51
51
52
52
- [ ] Add Enzyme
53
- - [ ] Add Husky
54
53
55
54
### Contributing
56
55
Original file line number Diff line number Diff line change 12
12
"eslint-plugin-react" : " 7.11.1" ,
13
13
"eslint-plugin-react-native" : " 3.5.0" ,
14
14
"flow-bin" : " 0.84.0" ,
15
+ "husky" : " 1.1.2" ,
15
16
"lint-staged" : " 7.3.0" ,
16
17
"prettier" : " 1.14.3"
17
18
}
Original file line number Diff line number Diff line change 1
1
{
2
+ "husky" : {
3
+ "hooks" : {
4
+ "pre-commit" : " lint-staged"
5
+ }
6
+ },
2
7
"jest" : {
3
8
"preset" : " react-native" ,
4
9
"transform" : {
Original file line number Diff line number Diff line change 5
5
"android:shake" : " $ANDROID_HOME/platform-tools/adb shell input keyevent 82" ,
6
6
"ios:install" : " react-native run-ios --configuration Release" ,
7
7
"project:clean" : " rm -Rf $TMPDIR/react-* node_modules && watchman watch-del-all && yarn cache clean && cd android && ./gradlew clean && cd .. && yarn" ,
8
- "precommit" : " lint-staged" ,
9
8
"prettier:check" : " prettier -l index.js src/**/*.js" ,
10
9
"prettier:all" : " prettier --insert-pragma --write index.js src/**/*.js" ,
11
10
"lint" : " eslint --ext .js src/** " ,
You can’t perform that action at this time.
0 commit comments