Skip to content

Instantly share code, notes, and snippets.

@machour
Created September 8, 2017 20:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save machour/74e0f8ed940ab8d5821d14d9c04b95f7 to your computer and use it in GitHub Desktop.
Save machour/74e0f8ed940ab8d5821d14d9c04b95f7 to your computer and use it in GitHub Desktop.
diff --git a/package.json b/package.json
index 658cc8c..cb6aed8 100644
--- a/package.json
+++ b/package.json
@@ -42,6 +42,9 @@
},
"dependencies": {
"fuzzy-search": "^1.4.0",
+ "lingui-cli": "^1.3.2",
+ "lingui-i18n": "^1.3.0",
+ "lingui-react": "^1.2.0",
"lodash.uniqby": "^4.7.0",
"lowlight": "^1.5.0",
"md5": "^2.2.1",
@@ -52,6 +55,7 @@
"react": "16.0.0-alpha.12",
"react-native": "0.47.1",
"react-native-actionsheet": "^2.2.0",
+ "react-native-app-intro": "^1.1.5",
"react-native-code-push": "^5.0.0-beta",
"react-native-communications": "^2.2.1",
"react-native-config": "^0.6.0",
@@ -64,7 +68,6 @@
"react-native-photo-view": "^1.4.0",
"react-native-safari-view": "^2.0.0",
"react-native-search-bar": "^3.0.0",
- "react-native-app-intro": "^1.1.5",
"react-native-syntax-highlighter": "^1.2.1",
"react-native-vector-icons": "^4.0.0",
"react-navigation": "^1.0.0-beta.11",
@@ -86,6 +89,7 @@
"babel-plugin-module-resolver": "^2.7.1",
"babel-plugin-transform-inline-environment-variables": "^6.8.0",
"babel-preset-flow": "^6.23.0",
+ "babel-preset-lingui-react": "^1.0.5",
"babel-preset-react-native": "1.9.1",
"concurrently": "^3.5.0",
"cz-conventional-changelog": "^2.0.0",
diff --git a/.babelrc b/.babelrc
index cbb0c50..4c17e24 100644
--- a/.babelrc
+++ b/.babelrc
@@ -1,6 +1,7 @@
{
"presets": [
"react-native",
+ "lingui-react",
"flow"
],
"retainLines": true,
@@ -30,4 +31,4 @@
],
"transform-inline-environment-variables"
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment