diff options
| author | Leon Jiang <35908040+leonyjiang@users.noreply.github.com> | 2020-06-25 16:28:00 -0700 |
|---|---|---|
| committer | Leon Jiang <35908040+leonyjiang@users.noreply.github.com> | 2020-06-25 16:28:00 -0700 |
| commit | bc8184b1a402af0c3e54edb79b38ed8e09a6798d (patch) | |
| tree | 2ac23485a81086ab4e5df2989e2002c7e67cd56a /package.json | |
| parent | 36a6781faad4380e7c401f32506707c0e48a15f5 (diff) | |
cleanup file structure, add react-navigation & basic routes
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" ] } } |
