UNPKG

2.59 kBJSONView Raw
1{
2 "name": "@react-navigation/stack",
3 "description": "Stack navigator component for iOS and Android with animated transitions and gestures",
4 "version": "7.1.1",
5 "keywords": [
6 "react-native-component",
7 "react-component",
8 "react-native",
9 "react-navigation",
10 "ios",
11 "android",
12 "stack"
13 ],
14 "license": "MIT",
15 "repository": {
16 "type": "git",
17 "url": "https://github.com/react-navigation/react-navigation.git",
18 "directory": "packages/stack"
19 },
20 "bugs": {
21 "url": "https://github.com/react-navigation/react-navigation/issues"
22 },
23 "homepage": "https://reactnavigation.org/docs/stack-navigator/",
24 "source": "./src/index.tsx",
25 "main": "./lib/commonjs/index.js",
26 "module": "./lib/module/index.js",
27 "types": "./lib/typescript/commonjs/src/index.d.ts",
28 "exports": {
29 ".": {
30 "import": {
31 "types": "./lib/typescript/module/src/index.d.ts",
32 "default": "./lib/module/index.js"
33 },
34 "require": {
35 "types": "./lib/typescript/commonjs/src/index.d.ts",
36 "default": "./lib/commonjs/index.js"
37 }
38 }
39 },
40 "files": [
41 "src",
42 "lib",
43 "!**/__tests__"
44 ],
45 "sideEffects": false,
46 "publishConfig": {
47 "access": "public"
48 },
49 "scripts": {
50 "prepack": "bob build",
51 "clean": "del lib"
52 },
53 "dependencies": {
54 "@react-navigation/elements": "^2.2.5",
55 "color": "^4.2.3"
56 },
57 "devDependencies": {
58 "@jest/globals": "^29.7.0",
59 "@react-navigation/native": "^7.0.14",
60 "@testing-library/react-native": "^12.8.1",
61 "@types/color": "^3.0.6",
62 "@types/react": "~18.3.12",
63 "del-cli": "^5.1.0",
64 "react": "18.3.1",
65 "react-native": "0.76.2",
66 "react-native-builder-bob": "^0.33.2",
67 "react-native-gesture-handler": "~2.20.2",
68 "react-native-safe-area-context": "4.12.0",
69 "react-native-screens": "^4.3.0",
70 "typescript": "^5.5.2"
71 },
72 "peerDependencies": {
73 "@react-navigation/native": "^7.0.14",
74 "react": ">= 18.2.0",
75 "react-native": "*",
76 "react-native-gesture-handler": ">= 2.0.0",
77 "react-native-safe-area-context": ">= 4.0.0",
78 "react-native-screens": ">= 4.0.0"
79 },
80 "react-native-builder-bob": {
81 "source": "src",
82 "output": "lib",
83 "targets": [
84 [
85 "commonjs",
86 {
87 "esm": true
88 }
89 ],
90 [
91 "module",
92 {
93 "esm": true
94 }
95 ],
96 [
97 "typescript",
98 {
99 "project": "tsconfig.build.json",
100 "esm": true
101 }
102 ]
103 ]
104 },
105 "gitHead": "5a8d0f65e0d118317417cf76749e6f28fc50c02a"
106}