Setup react native web

This commit is contained in:
2026-05-28 12:49:58 +02:00
parent 466b792878
commit 0ac36e9890
6 changed files with 755 additions and 31 deletions
+15 -4
View File
@@ -7,15 +7,18 @@
"ios": "react-native run-ios --simulator='iPhone 16'",
"lint": "eslint .",
"start": "react-native start --reset-cache --port 8082",
"web": "webpack serve --mode development --open",
"test": "jest",
"pod": "bundle install && bundle exec pod install --project-directory=ios"
},
"dependencies": {
"react": "19.2.3",
"react-native": "0.84.1",
"@react-native/new-app-screen": "0.84.1",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-native": "0.84.1",
"react-native-nitro-modules": "0.35.3",
"react-native-safe-area-context": "^5.5.2",
"react-native-nitro-modules": "0.35.3"
"react-native-web": "^0.20.0"
},
"devDependencies": {
"@babel/core": "^7.25.2",
@@ -29,7 +32,15 @@
"@react-native/metro-config": "0.84.1",
"@react-native/typescript-config": "0.84.1",
"@types/jest": "^29.5.13",
"babel-plugin-module-resolver": "^5.0.2"
"babel-loader": "^10.1.1",
"babel-plugin-module-resolver": "^5.0.2",
"css-loader": "^7.1.4",
"html-webpack-plugin": "^5.6.7",
"style-loader": "^4.0.0",
"url-loader": "^4.1.1",
"webpack": "^5.107.2",
"webpack-cli": "^7.0.3",
"webpack-dev-server": "^5.2.4"
},
"engines": {
"node": ">= 22.11.0"