Commit ef007ebb authored by ChrisZhao 赵思思's avatar ChrisZhao 赵思思

Init Commit

parent 90339b72
......@@ -25,16 +25,8 @@ const config = {
},
rn: {
output: {
iosSourceMapUrl: '', // sourcemap 文件url
iosSourcemapOutput: '../bundles/ios/main.map', // sourcemap 文件输出路径
iosSourcemapSourcesRoot: '', // 将 sourcemap 资源路径转为相对路径时的根目录
androidSourceMapUrl: '',
androidSourcemapOutput: '../bundles/android/app/src/main/assets/index.android.map',
androidSourcemapSourcesRoot: '',
ios: '../bundles/ios/index.jsbundle',
iosAssetsDest: '../bundles/ios',
android: '../bundles/android/app/src/main/assets/index.android.bundle',
androidAssetsDest: '../bundles/android/app/src/main/res'
android: '../bundles/android/index.android.bundle'
},
},
mini: {
......
import '@tarojs/rn-supporter/entry-file.js'
\ No newline at end of file
const { mergeConfig } = require('metro-config')
const { getMetroConfig } = require('@tarojs/rn-supporter')
module.exports = (async function (){
return mergeConfig({
// custom your metro config here
// https://facebook.github.io/metro/docs/configuration
resolver: {}
}, await getMetroConfig())
})()
\ No newline at end of file
This diff is collapsed.
......@@ -36,46 +36,53 @@
"dependencies": {
"@babel/runtime": "^7.7.7",
"@tarojs/components": "3.6.16",
"@tarojs/components-rn": "^3.6.24",
"@tarojs/helper": "3.6.16",
"@tarojs/plugin-platform-weapp": "3.6.16",
"@tarojs/plugin-framework-react": "3.6.16",
"@tarojs/plugin-platform-alipay": "3.6.16",
"@tarojs/plugin-platform-tt": "3.6.16",
"@tarojs/plugin-platform-swan": "3.6.16",
"@tarojs/plugin-platform-h5": "3.6.16",
"@tarojs/plugin-platform-jd": "3.6.16",
"@tarojs/plugin-platform-qq": "3.6.16",
"@tarojs/plugin-platform-h5": "3.6.16",
"@tarojs/plugin-platform-swan": "3.6.16",
"@tarojs/plugin-platform-tt": "3.6.16",
"@tarojs/plugin-platform-weapp": "3.6.16",
"@tarojs/react": "3.6.16",
"@tarojs/rn-runner": "^3.6.24",
"@tarojs/rn-supporter": "^3.6.24",
"@tarojs/runtime": "3.6.16",
"@tarojs/runtime-rn": "^3.6.24",
"@tarojs/shared": "3.6.16",
"@tarojs/taro": "3.6.16",
"@tarojs/plugin-framework-react": "3.6.16",
"mobx": "^4.8.0",
"mobx-react": "^6.1.4",
"react-dom": "^18.0.0",
"@tarojs/react": "3.6.16",
"react": "^18.0.0"
"@tarojs/taro-rn": "^3.6.24",
"expo": "~47.0.3",
"mobx": "5.0.5",
"mobx-react": "6.1.4",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-native": "0.72.0"
},
"devDependencies": {
"@babel/core": "^7.8.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.5",
"@tarojs/cli": "3.6.16",
"@types/webpack-env": "^1.13.6",
"@types/react": "^18.0.0",
"postcss": "^8.4.18",
"webpack": "^5.78.0",
"@tarojs/taro-loader": "3.6.16",
"@tarojs/webpack5-runner": "3.6.16",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.5",
"react-refresh": "^0.11.0",
"@types/node": "^18.15.11",
"@types/react": "^18.0.0",
"@types/webpack-env": "^1.13.6",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
"babel-preset-taro": "3.6.16",
"eslint-config-taro": "3.6.16",
"eslint": "^8.12.0",
"eslint-plugin-react": "^7.8.2",
"eslint-config-taro": "3.6.16",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-react": "^7.8.2",
"eslint-plugin-react-hooks": "^4.2.0",
"postcss": "^8.4.18",
"react-refresh": "^0.11.0",
"stylelint": "9.3.0",
"@typescript-eslint/parser": "^5.20.0",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"typescript": "^4.1.0",
"ts-node": "^10.9.1",
"@types/node": "^18.15.11"
"typescript": "^4.1.0",
"webpack": "^5.78.0"
}
}
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment