UNPKG

@react-navigation/stack

Version:

Stack navigator component for iOS and Android with animated transitions and gestures

107 lines (106 loc) 2.59 kB
{ "name": "@react-navigation/stack", "description": "Stack navigator component for iOS and Android with animated transitions and gestures", "version": "7.2.2", "keywords": [ "react-native-component", "react-component", "react-native", "react-navigation", "ios", "android", "stack" ], "license": "MIT", "repository": { "type": "git", "url": "https://github.com/react-navigation/react-navigation.git", "directory": "packages/stack" }, "bugs": { "url": "https://github.com/react-navigation/react-navigation/issues" }, "homepage": "https://reactnavigation.org/docs/stack-navigator/", "source": "./src/index.tsx", "main": "./lib/commonjs/index.js", "module": "./lib/module/index.js", "types": "./lib/typescript/commonjs/src/index.d.ts", "exports": { ".": { "import": { "types": "./lib/typescript/module/src/index.d.ts", "default": "./lib/module/index.js" }, "require": { "types": "./lib/typescript/commonjs/src/index.d.ts", "default": "./lib/commonjs/index.js" } } }, "files": [ "src", "lib", "!**/__tests__" ], "sideEffects": false, "publishConfig": { "access": "public" }, "scripts": { "prepack": "bob build", "clean": "del lib" }, "dependencies": { "@react-navigation/elements": "^2.3.0", "color": "^4.2.3" }, "devDependencies": { "@jest/globals": "^29.7.0", "@react-navigation/native": "^7.0.18", "@testing-library/react-native": "^12.8.1", "@types/color": "^3.0.6", "@types/react": "~18.3.12", "del-cli": "^5.1.0", "react": "18.3.1", "react-native": "0.76.2", "react-native-builder-bob": "^0.38.0", "react-native-gesture-handler": "~2.20.2", "react-native-safe-area-context": "4.12.0", "react-native-screens": "^4.3.0", "typescript": "^5.5.2" }, "peerDependencies": { "@react-navigation/native": "^7.0.18", "react": ">= 18.2.0", "react-native": "*", "react-native-gesture-handler": ">= 2.0.0", "react-native-safe-area-context": ">= 4.0.0", "react-native-screens": ">= 4.0.0" }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "commonjs", { "esm": true } ], [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json", "esm": true } ] ] }, "gitHead": "a656331009fcb534e0bef535e6df65ae07a228a4" }