module.exports = {
presets: ['module:metro-react-native-babel-preset'],
plugins: [
['@babel/...plugin-proposal-decorators', { legacy: true }], // mbox
// ['react-native-reanimated/plugin'],...run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest",...",
"prepare": "husky install",
"clear": "yarn cache clean",
"clear-run": "react-native start --...", // 基础目录
"paths": { // 指定相对于 baseUrl 选项计算的路径映射, 别名路径也可以跳转
"~/*": [
"src/*"