UNPKG

react-native-navigation-mode

Version:

Detect Android navigation mode (3-button, 2-button, or gesture)

196 lines (195 loc) 4.69 kB
{ "name": "react-native-navigation-mode", "version": "1.2.5", "description": "Detect Android navigation mode (3-button, 2-button, or gesture)", "main": "./lib/module/index.js", "react-native": "./lib/module/index.js", "source": "src/index.tsx", "types": "./lib/typescript/src/index.d.ts", "files": [ "src", "lib", "android", "ios", "cpp", "*.podspec", "react-native.config.js", "expo-module.config.json", "app.plugin.js", "plugin/build", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "example": "yarn workspace react-native-navigation-mode-example", "test": "jest", "typecheck": "tsc", "lint": "eslint \"**/*.{js,ts,tsx}\"", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", "prepare": "bob build", "release": "release-it --only-version" }, "keywords": [ "react-native", "android", "ios", "navigation", "gesture", "navigation-buttons", "edge-to-edge", "navigation-bar", "react-native-edge-to-edge", "turbo-module", "native" ], "repository": { "type": "git", "url": "git+https://github.com/JairajJangle/react-native-navigation-mode.git" }, "author": "https://github.com/JairajJangle", "license": "MIT", "bugs": { "url": "https://github.com/JairajJangle/react-native-navigation-mode/issues" }, "homepage": "https://github.com/JairajJangle/react-native-navigation-mode#readme", "publishConfig": { "registry": "https://registry.npmjs.org/", "provenance": true }, "devDependencies": { "@commitlint/config-conventional": "^19.6.0", "@eslint/compat": "^1.2.7", "@eslint/eslintrc": "^3.3.0", "@eslint/js": "^9.22.0", "@evilmartians/lefthook": "^1.5.0", "@expo/config-plugins": "^10.1.2", "@react-native/babel-preset": "0.79.5", "@react-native/eslint-config": "0.79.5", "@release-it/conventional-changelog": "^9.0.2", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^11.0.1", "@semantic-release/npm": "^12.0.1", "@types/jest": "^29.5.5", "@types/react": "^19.0.0", "commitlint": "^19.6.1", "del-cli": "^5.1.0", "eslint": "^9.22.0", "eslint-config-prettier": "^10.1.1", "eslint-plugin-prettier": "^5.2.3", "jest": "^29.7.0", "prettier": "^3.0.3", "react": "19.0.0", "react-native": "0.79.5", "react-native-builder-bob": "^0.40.11", "release-it": "^17.10.0", "semantic-release": "^24.1.0", "turbo": "^1.10.7", "typescript": "^5.8.3" }, "peerDependencies": { "expo": "*", "react": "*", "react-native": ">=0.77.0" }, "peerDependenciesMeta": { "expo": { "optional": true } }, "workspaces": [ "example" ], "packageManager": "yarn@3.6.1", "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": true }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": { "name": "angular" } } } }, "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "codegenConfig": { "name": "NavigationModeSpec", "type": "modules", "jsSrcsDir": "src", "android": { "javaPackageName": "com.navigationmode" } }, "create-react-native-library": { "languages": "kotlin-objc", "type": "turbo-module", "version": "0.50.3" }, "funding": [ { "type": "individual", "url": "https://www.paypal.com/paypalme/jairajjangle001/usd" }, { "type": "individual", "url": "https://liberapay.com/FutureJJ/donate" }, { "type": "individual", "url": "https://ko-fi.com/futurejj" } ] }