Commit bdf20a44 by wong.peiyi

添加ts库

parent 9a495df8
module.exports = {
presets: ['module:metro-react-native-babel-preset'],
plugins: [
["module-resolver", {
"root": ["./app"],
"extensions": [".js", ".jsx", ".ts", ".tsx", ".ios.js", ".android.js"]
}],
"@babel/plugin-transform-runtime",
]
};
......@@ -78,7 +78,7 @@
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Staging"
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
......
......@@ -33,13 +33,18 @@
},
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/runtime": "^7.4.5",
"@types/react": "^17.0.3",
"@types/react-native": "^0.64.2",
"babel-jest": "^24.8.0",
"babel-plugin-module-resolver": "^4.1.0",
"jest": "^24.8.0",
"jetifier": "^1.6.6",
"metro-react-native-babel-preset": "^0.54.1",
"metro-react-native-babel-preset": "^0.65.2",
"react-native-gesture-handler": "1.0.5",
"react-test-renderer": "16.8.3"
"react-test-renderer": "16.8.3",
"typescript": "^4.2.3"
},
"jest": {
"preset": "react-native"
......
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 sign in to comment