diff options
| author | Husam Salhab <47015061+hsalhab@users.noreply.github.com> | 2020-06-26 12:53:50 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-26 12:53:50 -0400 |
| commit | cdbf153a09e20b3483926bf2cd80d600105fbeae (patch) | |
| tree | 48cc1d99384455af3e8a4c688ca42666c47e1a8f /package.json | |
| parent | 36a6781faad4380e7c401f32506707c0e48a15f5 (diff) | |
| parent | 69bc5a72f72e847f42d8486ad29161f1e21239d3 (diff) | |
Merge pull request #7 from leonyjiang/tma58-react-navigation-setup
[TMA-58] Cleanup file structure & add react-navigation
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/package.json b/package.json index 7bee86c4..d3ad6c4d 100644 --- a/package.json +++ b/package.json @@ -7,11 +7,18 @@ "ios": "react-native run-ios", "start": "react-native start", "test": "jest", - "lint": "eslint . --ext .js,.jsx,.ts,.tsx" + "lint": "eslint . --ext .js,.jsx,.ts,.tsx --fix" }, "dependencies": { + "@react-native-community/masked-view": "^0.1.10", + "@react-navigation/native": "^5.6.1", + "@react-navigation/stack": "^5.6.2", "react": "16.11.0", - "react-native": "0.62.2" + "react-native": "0.62.2", + "react-native-gesture-handler": "^1.6.1", + "react-native-reanimated": "^1.9.0", + "react-native-safe-area-context": "^3.0.6", + "react-native-screens": "^2.9.0" }, "devDependencies": { "@babel/core": "^7.6.2", @@ -24,10 +31,11 @@ "@typescript-eslint/parser": "^2.27.0", "babel-jest": "^24.9.0", "eslint": "^6.5.1", + "identity-obj-proxy": "^3.0.0", "jest": "^24.9.0", "metro-react-native-babel-preset": "^0.58.0", - "react-test-renderer": "16.11.0", "prettier": "^2.0.4", + "react-test-renderer": "16.11.0", "typescript": "^3.8.3" }, "jest": { @@ -39,6 +47,12 @@ "jsx", "json", "node" + ], + "moduleNameMapper": { + ".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "identity-obj-proxy" + }, + "setupFiles": [ + "./node_modules/react-native-gesture-handler/jestSetup.js" ] } } |
