Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git ignore translations file and run on commands instead #97

Merged
merged 4 commits into from
Jun 24, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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