This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
productFlavors { | |
development { | |
minSdkVersion rootProject.ext.minSdkVersion | |
applicationId 'com.awesome.project.dev' | |
targetSdkVersion rootProject.ext.targetSdkVersion | |
resValue "string", "build_config_package", "com.myapp" | |
} | |
production { | |
minSdkVersion rootProject.ext.minSdkVersion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"android:dev": "react-native run-android --variant=developmentdebug", | |
"android:dev-release": "react-native run-android --variant=developmentrelease", | |
"android:prod": "react-native run-android --variant=productiondebug", | |
"android:prod-release": "react-native run-android --variant=productionrelease", | |
"ios:prod": "react-native run-ios --configuration 'Debug' --scheme 'AwesomeAppProduction'", | |
"ios:prod-release": "react-native run-ios --configuration 'Release' --scheme 'AwesomeAppProduction'", | |
"ios:dev": "react-native run-ios --configuration 'Debug' --scheme 'AwesomeAppDevelopment'", | |
"ios:dev-release": "react-native run-ios --configuration 'Release' --scheme 'AwesomeAppDevelopment'", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install the eslint package globally. | |
1.sudo npm install -g eslint | |
2.Copy the code from the link https://packagecontrol.io/installation (related to sublime text3 or sublime text2) | |
*paste the code to View->show console option in the sublime editor | |
3.npm install --save-dev eslint-config-rallycoding | |
4.ADD FILE IN PROJECT DIRECTORY | |
.eslintrc file ==> this file has the {"extends": "rallycoding"} | |
5.ctr + shift+p ==> click install package |