Skip to content

Commit

Permalink
updated version
Browse files Browse the repository at this point in the history
  • Loading branch information
mansi-square committed May 24, 2024
1 parent 40e7693 commit 1e8505f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"eslint-plugin-react-native": "^3.11.0",
"jest": "^27.0.6",
"metro-react-native-babel-preset": "0.56.0",
"react": "^17.0.2",
"react-native": "0.64.1",
"react": "18.2.0",
"react-native": "0.74.1",
"react-test-renderer": "16.9.0",
"ts-jest": "^27.0.3",
"typescript": "^4.3.5"
Expand All @@ -62,4 +62,4 @@
"**/**/logkitty": "^0.7.1",
"**/**/minimist": "^0.2.1"
}
}
}
2 changes: 2 additions & 0 deletions react-native-in-app-payments-quickstart/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = {
'import/resolver': {
node: {
extensions: ['.js', '.jsx', '.ts', '.tsx'],
moduleDirectory: ['node_modules', './'],
},
},
},
Expand All @@ -32,5 +33,6 @@ module.exports = {
'class-methods-use-this': 0,
'import/no-extraneous-dependencies': 0,
'import/extensions': 0,
'import/no-unresolved': 2,
},
};
20 changes: 13 additions & 7 deletions react-native-in-app-payments-quickstart/metro.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config');

/**
* Metro configuration
* https://reactnative.dev/docs/metro
* Metro configuration for React Native
* https://github.com/facebook/react-native
*
* @type {import('metro-config').MetroConfig}
* @format
*/
const config = {};

module.exports = mergeConfig(getDefaultConfig(__dirname), config);
module.exports = {
transformer: {
getTransformOptions: async () => ({
transform: {
experimentalImportSupport: false,
inlineRequires: true,
},
}),
},
};

0 comments on commit 1e8505f

Please sign in to comment.