Skip to content

Commit

Permalink
update router template
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanBacon committed Dec 8, 2023
1 parent 9b496da commit 779fc0a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 20 deletions.
6 changes: 1 addition & 5 deletions with-router/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ module.exports = function (api) {
api.cache(true);
return {
presets: ["babel-preset-expo"],
plugins: [
"@babel/plugin-proposal-export-namespace-from",
"react-native-reanimated/plugin",
require.resolve("expo-router/babel"),
],
plugins: ["expo-router/babel"],
};
};
1 change: 0 additions & 1 deletion with-router/index.js

This file was deleted.

19 changes: 5 additions & 14 deletions with-router/package.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,27 @@
{
"name": "with-router",
"version": "1.0.0",
"main": "index.js",
"main": "expo-router/entry",

"scripts": {
"start": "expo start"
},
"dependencies": {
"expo": "^49.0.3",
"expo": "~49.0.15",
"expo-constants": "~14.4.2",
"expo-linking": "~5.0.2",
"expo-router": "2.0.0",
"expo-router": "^2.0.0",
"expo-splash-screen": "~0.20.4",
"expo-status-bar": "~1.6.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.72.3",
"react-native-gesture-handler": "~2.12.0",
"react-native-reanimated": "~3.3.0",
"react-native-safe-area-context": "4.6.3",
"react-native-screens": "~3.22.0",
"react-native-web": "~0.19.6"
},
"devDependencies": {
"@babel/core": "^7.19.3",
"@babel/plugin-proposal-export-namespace-from": "^7.18.9"
},
"resolutions": {
"metro": "^0.73.7",
"metro-resolver": "^0.73.7"
},
"overrides": {
"metro": "^0.73.7",
"metro-resolver": "^0.73.7"
"@babel/core": "^7.20.0"
}
}

0 comments on commit 779fc0a

Please sign in to comment.