Skip to content

Commit

Permalink
add some convenience scripts (rnmapbox#1269)
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdicus committed Mar 12, 2021
1 parent 93ba095 commit 5095b5e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"ios": "react-native run-ios --simulator=\"iPhone SE (2nd generation)\"",
"pod:install": "cd ios && pod install",
"preios": "yarn pod:install",
"start": "react-native start",
"test": "jest",
"lint": "eslint ./src",
"postinstall": "node ./scripts/set_access_token.js && jetifier"
"postinstall": "node ./scripts/set_access_token.js && jetifier",
"purge:android": "(cd android && ./gradlew --stop) && rm -rf ~/.gradle/caches/ android/app/build",
"purge:ios": "rm -rf ios/Pods/* ~/Library/Caches/CocoaPods Pods ~/Library/Developer/Xcode/DerivedData && pod cache clean --all",
"purge:js": "rm -rf node_modules && yarn cache clean && watchman watch-del-all",
"purge": "yarn purge:js && yarn purge:android && yarn purge:ios"
},
"dependencies": {
"@mapbox/geo-viewport": "^0.4.0",
Expand Down

0 comments on commit 5095b5e

Please sign in to comment.