File tree 3 files changed +8
-2
lines changed
3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change
1
+ # IDE
2
+ .idea
3
+ .vscode
Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ const deleteFile = filename => {
15
15
} catch ( error ) { }
16
16
}
17
17
18
+ const packagePath = path . join ( __dirname , 'package.json' ) ;
18
19
const packageJSON = readFile ( 'package.json' ) ;
20
+
19
21
const versionString = packageJSON . dependencies [ 'react-native' ] ;
20
22
const versionNumber = parseInt ( versionString . replace ( / \. / g, '' ) ) ;
21
23
Original file line number Diff line number Diff line change 4
4
"android:install" : " react-native run-android --variant=\" Release\" " ,
5
5
"android:shake" : " $ANDROID_HOME/platform-tools/adb shell input keyevent 82" ,
6
6
"ios:install" : " react-native run-ios --configuration Release" ,
7
+ "flow" : " flow check src/" ,
7
8
"project:clean" : " rm -Rf $TMPDIR/react-* node_modules && watchman watch-del-all && yarn cache clean && cd android && ./gradlew clean && cd .. && yarn" ,
8
- "prettier:check" : " prettier -l index.js src/**/*.js" ,
9
9
"prettier:all" : " prettier --insert-pragma --write index.js src/**/*.js" ,
10
+ "prettier:check" : " prettier -l index.js src/**/*.js" ,
10
11
"lint" : " eslint --ext .js src/** " ,
11
12
"start" : " node node_modules/react-native/local-cli/cli.js start" ,
12
13
"start:clean" : " yarn start --reset-cache" ,
13
14
"test" : " jest" ,
14
- "test:watch" : " yarn test -- -- watch"
15
+ "test:watch" : " yarn test --watch"
15
16
}
16
17
}
You can’t perform that action at this time.
0 commit comments