Skip to content

Commit

Permalink
git ignore translations file and run on commans instead
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanAtShopify committed Jun 4, 2020
1 parent 6c5aa45 commit a6780a8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,6 @@ ios/GoogleService-Info.plist
ios/Generated.xcconfig
android/app/google-services.json
.env.local

# Translations
src/locale/translations/index.js
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"version": "0.0.1",
"private": true,
"scripts": {
"bundle-android": "react-native bundle --dev false --platform android --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/",
"bundle-ios": "react-native bundle --dev false --platform ios --entry-file index.js --bundle-output ios/main.jsbundle --assets-dest ios",
"bundle-android": "yarn generate-translations && react-native bundle --dev false --platform android --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/",
"bundle-ios": "yarn generate-translations && react-native bundle --dev false --platform ios --entry-file index.js --bundle-output ios/main.jsbundle --assets-dest ios",
"codegen-protobuf": "pbjs -t static-module -o src/services/BackendService/covidshield/covidshield.js src/services/BackendService/covidshield/covidshield.proto && pbts -o src/services/BackendService/covidshield/covidshield.d.ts src/services/BackendService/covidshield/covidshield.js",
"generate-translations": "node translations.js",
"generate-translations": "node scripts/translations.js",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"pod-install": "pushd ios; bundle exec pod install; popd",
"run-android": "react-native run-android --variant debug --appIdSuffix debug",
"run-ios": "react-native run-ios",
"run-android": "yarn generate-translations && react-native run-android --variant debug --appIdSuffix debug",
"run-ios": "yarn generate-translations && react-native run-ios",
"start": "react-native start --reset-cache",
"test": "jest",
"tsc": "tsc"
Expand Down
File renamed without changes.
Loading

0 comments on commit a6780a8

Please sign in to comment.