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

Error on initialization of projet #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
21 changes: 21 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,24 @@ web-build/
tests/
/assets/vids


# @generated: @expo/next-adapter@2.1.70
/.expo/*
# Expo Web
/web-build/*
# Expo Native
*.jks
*.p8
*.p12
*.key
*.mobileprovision
*.orig.*
# Next.js
/.next/*
/out/
# Next.js production
/build/
# Next.js dependencies
/.pnp
.pnp.js
# @end @expo/next-adapter
10 changes: 4 additions & 6 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
module.exports = function(api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
};
};
// @generated: @expo/next-adapter@2.1.70
// Learn more: https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/guides/using-nextjs.md#shared-steps

module.exports = { presets: ['@expo/next-adapter/babel'] };
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"ios": "react-native run-ios",
"web": "expo start --web",
"start": "react-native start",
"test": "jest"
"test": "jest",
"build": "next build"
},
"dependencies": {
"@react-native-community/masked-view": "0.1.10",
Expand All @@ -26,6 +27,7 @@
"mobx-react": "^7.1.0",
"mobx-react-lite": "^3.2.0",
"mobx-state-tree": "^5.0.1",
"next": "^10.2.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-native": "0.63.4",
Expand All @@ -40,6 +42,7 @@
},
"devDependencies": {
"@babel/core": "~7.9.0",
"@expo/next-adapter": "^2.1.70",
"@expo/webpack-config": "^0.12.69",
"babel-jest": "~25.2.6",
"jest": "~25.2.6",
Expand All @@ -49,4 +52,4 @@
"preset": "react-native"
},
"private": true
}
}
Loading