Last active
November 18, 2019 18:01
-
-
Save bharat-tiwari/10d019d69af76bc826f134e92f957691 to your computer and use it in GitHub Desktop.
added new scripts to package.json for additional commands
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": "react-native run-android", | |
"ios": "react-native run-ios", | |
"start": "react-native start", | |
"test": "jest", | |
"lint": "tslint src/**/*.ts", | |
"tslint": "./node_modules/.bin/tslint --format stylish --config ./tslint.json 'src/{,**/}*.tsx'", | |
"tsc": "tsc", | |
"clean": "rimraf build", | |
"build": "yarn run clean && yarn run tsc --", | |
"watch": "yarn run build -- -w", | |
"watchAndRunAndroid": "concurrently \"yarn run watch\" \"yarn run android\"", | |
"buildRunAndroid": "yarn run build && yarn run watchAndRunAndroid ", | |
"watchAndRunIOS": "concurrently \"yarn run watch\" \"yarn run ios\"", | |
"buildRunIOS": "yarn run build && yarn run watchAndRunIOS ", | |
"watchAndStart": "concurrently \"yarn run watch\" \"yarn run start\"", | |
"buildAndStart": "yarn run build && yarn run watchAndStart " | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment