123 lines
3.1 KiB
JSON
123 lines
3.1 KiB
JSON
{
|
|
"name": "@react-native-menu/menu",
|
|
"version": "2.0.0",
|
|
"description": "UIMenu component for react-native",
|
|
"main": "lib/commonjs/index",
|
|
"module": "lib/module/index",
|
|
"types": "lib/typescript/src/index.d.ts",
|
|
"react-native": "src/index",
|
|
"source": "src/index",
|
|
"files": [
|
|
"src",
|
|
"lib",
|
|
"android",
|
|
"ios",
|
|
"cpp",
|
|
"react-native-menu.podspec",
|
|
"!lib/typescript/example",
|
|
"!**/__tests__",
|
|
"!**/__fixtures__",
|
|
"!**/__mocks__"
|
|
],
|
|
"scripts": {
|
|
"android": "react-native run-android",
|
|
"bootstrap": "yarn && yarn generateRntaManifest",
|
|
"format": "biome format --write .",
|
|
"ios": "react-native run-ios",
|
|
"lint": "biome lint --write .",
|
|
"pods": "cd example && pod-install --quiet",
|
|
"prepare": "bob build",
|
|
"release": "release-it",
|
|
"start": "react-native start",
|
|
"test": "jest",
|
|
"typescript": "tsc --noEmit",
|
|
"generateRntaManifest": "node node_modules/react-native-test-app/android/android-manifest.js example/app.json example/android/app/build/generated/rnta/src/main/AndroidManifest.xml"
|
|
},
|
|
"keywords": [
|
|
"react-native",
|
|
"ios",
|
|
"android"
|
|
],
|
|
"repository": "https://github.com/react-native-menu/menu",
|
|
"author": "Jesse Katsumata <jesse.katsumata@gmail.com> (https://github.com/Naturalclar)",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/react-native-menu/menu/issues"
|
|
},
|
|
"homepage": "https://github.com/react-native-menu/menu#readme",
|
|
"devDependencies": {
|
|
"@biomejs/biome": "1.9.4",
|
|
"@callstack/react-native-visionos": "^0.79.6",
|
|
"@react-native-community/cli": "^20.0.2",
|
|
"@react-native/babel-preset": "^0.81.1",
|
|
"@react-native/metro-config": "0.81.1",
|
|
"@release-it/conventional-changelog": "^10.0.0",
|
|
"@rnx-kit/metro-config": "^2.1.1",
|
|
"@types/jest": "^29.1.2",
|
|
"@types/react": "^19.1.12",
|
|
"@types/react-native": "0.73.0",
|
|
"jest": "^29.2.1",
|
|
"pod-install": "1.0.6",
|
|
"react": "19.1.0",
|
|
"react-native": "^0.81.1",
|
|
"react-native-builder-bob": "^0.38.0",
|
|
"react-native-test-app": "^4.4.9",
|
|
"release-it": "^18.1.1",
|
|
"typescript": "5.9.2"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "*",
|
|
"react-native": "*"
|
|
},
|
|
"jest": {
|
|
"preset": "react-native",
|
|
"modulePathIgnorePatterns": [
|
|
"<rootDir>/example/node_modules",
|
|
"<rootDir>/lib/"
|
|
]
|
|
},
|
|
"release-it": {
|
|
"git": {
|
|
"commitMessage": "chore: release ${version}",
|
|
"tagName": "v${version}"
|
|
},
|
|
"npm": {
|
|
"publish": true
|
|
},
|
|
"github": {
|
|
"release": true
|
|
},
|
|
"plugins": {
|
|
"@release-it/conventional-changelog": {
|
|
"preset": "angular"
|
|
}
|
|
}
|
|
},
|
|
"react-native-builder-bob": {
|
|
"source": "src",
|
|
"output": "lib",
|
|
"targets": [
|
|
"commonjs",
|
|
"module",
|
|
"typescript"
|
|
]
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"volta": {
|
|
"node": "22.11.0"
|
|
},
|
|
"codegenConfig": {
|
|
"name": "RNMenuViewSpec",
|
|
"type": "components",
|
|
"jsSrcsDir": "src",
|
|
"ios": {
|
|
"componentProvider": {
|
|
"MenuView": "MenuView"
|
|
}
|
|
}
|
|
},
|
|
"packageManager": "yarn@4.1.1"
|
|
}
|