UNPKG

2.29 kBJSONView Raw
1{
2 "name": "@react-navigation/core",
3 "description": "Core utilities for building navigators",
4 "version": "7.3.1",
5 "keywords": [
6 "react",
7 "react-native",
8 "react-navigation"
9 ],
10 "license": "MIT",
11 "repository": {
12 "type": "git",
13 "url": "https://github.com/react-navigation/react-navigation.git",
14 "directory": "packages/core"
15 },
16 "bugs": {
17 "url": "https://github.com/react-navigation/react-navigation/issues"
18 },
19 "homepage": "https://reactnavigation.org",
20 "source": "./src/index.tsx",
21 "main": "./lib/commonjs/index.js",
22 "module": "./lib/module/index.js",
23 "types": "./lib/typescript/commonjs/src/index.d.ts",
24 "exports": {
25 ".": {
26 "import": {
27 "types": "./lib/typescript/module/src/index.d.ts",
28 "default": "./lib/module/index.js"
29 },
30 "require": {
31 "types": "./lib/typescript/commonjs/src/index.d.ts",
32 "default": "./lib/commonjs/index.js"
33 }
34 }
35 },
36 "files": [
37 "src",
38 "lib",
39 "!**/__tests__"
40 ],
41 "publishConfig": {
42 "access": "public"
43 },
44 "scripts": {
45 "prepack": "bob build",
46 "clean": "del lib"
47 },
48 "dependencies": {
49 "@react-navigation/routers": "^7.1.2",
50 "escape-string-regexp": "^4.0.0",
51 "nanoid": "3.3.8",
52 "query-string": "^7.1.3",
53 "react-is": "^18.2.0",
54 "use-latest-callback": "^0.2.1",
55 "use-sync-external-store": "^1.2.2"
56 },
57 "devDependencies": {
58 "@jest/globals": "^29.7.0",
59 "@testing-library/react-native": "^12.8.1",
60 "@types/react": "~18.3.12",
61 "@types/react-is": "^18.2.3",
62 "@types/use-sync-external-store": "^0.0.6",
63 "del-cli": "^5.1.0",
64 "immer": "^10.0.3",
65 "react": "18.3.1",
66 "react-native-builder-bob": "^0.33.2",
67 "react-test-renderer": "18.2.0",
68 "typescript": "^5.5.2"
69 },
70 "peerDependencies": {
71 "react": ">= 18.2.0"
72 },
73 "react-native-builder-bob": {
74 "source": "src",
75 "output": "lib",
76 "targets": [
77 [
78 "commonjs",
79 {
80 "esm": true
81 }
82 ],
83 [
84 "module",
85 {
86 "esm": true
87 }
88 ],
89 [
90 "typescript",
91 {
92 "project": "tsconfig.build.json",
93 "esm": true
94 }
95 ]
96 ]
97 },
98 "gitHead": "85c53f6593a6894018be936e6a47654634e5e4b4"
99}