Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taro-test
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵思思 Chris Zhao
taro-test
Commits
ef007ebb
Commit
ef007ebb
authored
Mar 15, 2024
by
ChrisZhao 赵思思
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Init Commit
parent
90339b72
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29831 additions
and
181 deletions
+29831
-181
index.ts
config/index.ts
+1
-9
index.js
index.js
+1
-0
metro.config.js
metro.config.js
+10
-0
package-lock.json
package-lock.json
+25230
-0
package.json
package.json
+29
-22
yarn.lock
yarn.lock
+4560
-150
No files found.
config/index.ts
View file @
ef007ebb
...
...
@@ -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
:
{
...
...
index.js
0 → 100644
View file @
ef007ebb
import
'@tarojs/rn-supporter/entry-file.js'
\ No newline at end of file
metro.config.js
0 → 100644
View file @
ef007ebb
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
package-lock.json
0 → 100644
View file @
ef007ebb
This diff is collapsed.
Click to expand it.
package.json
View file @
ef007ebb
...
...
@@ -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"
}
}
yarn.lock
View file @
ef007ebb
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment