menu/react-native.config.js
Jesse Katsumata 7b5f75d8ab
[chore] migrate from eslint/prettier to biome (#955)
* feat: migrate to biome

* doc: fix contributing

* fix: type

* resolve conflict and format

* fix: remove built files

* fix: remove built files

* fix: remove built files

* fix: format"
2024-11-08 10:14:05 +09:00

29 lines
593 B
JavaScript

const project = (() => {
const path = require("node:path");
try {
const { configureProjects } = require("react-native-test-app");
return configureProjects({
android: {
sourceDir: path.join("example", "android"),
manifestPath: path.join(__dirname, "example", "android"),
},
ios: {
sourceDir: path.join("example", "ios"),
},
});
} catch (e) {
return undefined;
}
})();
module.exports = {
dependencies: {
// Help rn-cli find and autolink this library
"@react-native-menu/menu": {
root: __dirname,
},
},
...(project ? { project } : undefined),
};