1 | {
|
2 | "name": "react-router",
|
3 | "version": "7.7.1",
|
4 | "description": "Declarative routing for React",
|
5 | "keywords": [
|
6 | "react",
|
7 | "router",
|
8 | "route",
|
9 | "routing",
|
10 | "history",
|
11 | "link"
|
12 | ],
|
13 | "repository": {
|
14 | "type": "git",
|
15 | "url": "https://github.com/remix-run/react-router",
|
16 | "directory": "packages/react-router"
|
17 | },
|
18 | "license": "MIT",
|
19 | "author": "Remix Software <hello@remix.run>",
|
20 | "sideEffects": false,
|
21 | "types": "./dist/development/index.d.ts",
|
22 | "main": "./dist/development/index.js",
|
23 | "module": "./dist/development/index.mjs",
|
24 | "exports": {
|
25 | ".": {
|
26 | "react-server": {
|
27 | "module": "./dist/development/index-react-server.mjs",
|
28 | "default": "./dist/development/index-react-server.js"
|
29 | },
|
30 | "node": {
|
31 | "types": "./dist/development/index.d.ts",
|
32 | "module": "./dist/development/index.mjs",
|
33 | "module-sync": "./dist/development/index.mjs",
|
34 | "default": "./dist/development/index.js"
|
35 | },
|
36 | "module": {
|
37 | "types": "./dist/development/index.d.mts",
|
38 | "default": "./dist/development/index.mjs"
|
39 | },
|
40 | "import": {
|
41 | "types": "./dist/development/index.d.mts",
|
42 | "default": "./dist/development/index.mjs"
|
43 | },
|
44 | "default": {
|
45 | "types": "./dist/development/index.d.ts",
|
46 | "default": "./dist/development/index.js"
|
47 | }
|
48 | },
|
49 | "./dom": {
|
50 | "node": {
|
51 | "types": "./dist/development/dom-export.d.ts",
|
52 | "module": "./dist/development/dom-export.mjs",
|
53 | "module-sync": "./dist/development/dom-export.mjs",
|
54 | "default": "./dist/development/dom-export.js"
|
55 | },
|
56 | "module": {
|
57 | "types": "./dist/development/dom-export.d.mts",
|
58 | "default": "./dist/development/dom-export.mjs"
|
59 | },
|
60 | "import": {
|
61 | "types": "./dist/development/dom-export.d.mts",
|
62 | "default": "./dist/development/dom-export.mjs"
|
63 | },
|
64 | "default": {
|
65 | "types": "./dist/development/dom-export.d.ts",
|
66 | "default": "./dist/development/dom-export.js"
|
67 | }
|
68 | },
|
69 | "./internal": {
|
70 | "node": {
|
71 | "types": "./dist/development/lib/types/internal.d.ts"
|
72 | },
|
73 | "import": {
|
74 | "types": "./dist/development/lib/types/internal.d.mts"
|
75 | },
|
76 | "default": {
|
77 | "types": "./dist/development/lib/types/index.d.ts"
|
78 | }
|
79 | },
|
80 | "./internal/react-server-client": {
|
81 | "react-server": {
|
82 | "module": "./dist/development/index-react-server-client.mjs",
|
83 | "default": "./dist/development/index-react-server-client.js"
|
84 | },
|
85 | "node": {
|
86 | "types": "./dist/development/index.d.ts",
|
87 | "module": "./dist/development/index.mjs",
|
88 | "module-sync": "./dist/development/index.mjs",
|
89 | "default": "./dist/development/index.js"
|
90 | },
|
91 | "module": {
|
92 | "types": "./dist/development/index.d.mts",
|
93 | "default": "./dist/development/index.mjs"
|
94 | },
|
95 | "import": {
|
96 | "types": "./dist/development/index.d.mts",
|
97 | "default": "./dist/development/index.mjs"
|
98 | },
|
99 | "default": {
|
100 | "types": "./dist/development/index.d.ts",
|
101 | "default": "./dist/development/index.js"
|
102 | }
|
103 | },
|
104 | "./package.json": "./package.json"
|
105 | },
|
106 | "wireit": {
|
107 | "build": {
|
108 | "command": "premove dist && tsup && tsup --config tsup.config.rsc.ts",
|
109 | "files": [
|
110 | "lib/**",
|
111 | "*.ts",
|
112 | "tsconfig.json",
|
113 | "package.json"
|
114 | ],
|
115 | "output": [
|
116 | "dist/**"
|
117 | ]
|
118 | }
|
119 | },
|
120 | "dependencies": {
|
121 | "cookie": "^1.0.1",
|
122 | "set-cookie-parser": "^2.6.0"
|
123 | },
|
124 | "devDependencies": {
|
125 | "@testing-library/jest-dom": "^6.6.3",
|
126 | "@testing-library/react": "^16.3.0",
|
127 | "@testing-library/user-event": "^14.6.1",
|
128 | "@types/set-cookie-parser": "^2.4.1",
|
129 | "jest-environment-jsdom": "^29.6.2",
|
130 | "premove": "^4.0.0",
|
131 | "react": "^19.1.0",
|
132 | "react-dom": "^19.1.0",
|
133 | "react-test-renderer": "^19.1.0",
|
134 | "tsup": "^8.3.0",
|
135 | "typescript": "^5.1.6",
|
136 | "undici": "^6.19.2",
|
137 | "wireit": "0.14.9"
|
138 | },
|
139 | "peerDependencies": {
|
140 | "react": ">=18",
|
141 | "react-dom": ">=18"
|
142 | },
|
143 | "peerDependenciesMeta": {
|
144 | "react-dom": {
|
145 | "optional": true
|
146 | }
|
147 | },
|
148 | "files": [
|
149 | "dist/",
|
150 | "CHANGELOG.md",
|
151 | "LICENSE.md",
|
152 | "README.md"
|
153 | ],
|
154 | "engines": {
|
155 | "node": ">=20.0.0"
|
156 | },
|
157 | "scripts": {
|
158 | "build": "wireit",
|
159 | "watch": "tsup --watch & tsup --config tsup.config.rsc.ts --watch",
|
160 | "typecheck": "tsc"
|
161 | }
|
162 | } |
\ | No newline at end of file |