UNPKG

2.7 kBJSONView Raw
1{
2 "name": "react-router",
3 "version": "7.0.2",
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 "node": {
27 "types": "./dist/development/index.d.ts",
28 "module-sync": "./dist/development/index.mjs",
29 "default": "./dist/development/index.js"
30 },
31 "import": {
32 "types": "./dist/development/index.d.mts",
33 "default": "./dist/development/index.mjs"
34 },
35 "default": {
36 "types": "./dist/development/index.d.ts",
37 "default": "./dist/development/index.js"
38 }
39 },
40 "./route-module": {
41 "import": {
42 "types": "./dist/development/lib/types/route-module.d.mts"
43 },
44 "default": {
45 "types": "./dist/development/lib/types/route-module.d.ts"
46 }
47 },
48 "./dom": {
49 "node": {
50 "types": "./dist/development/dom-export.d.ts",
51 "module-sync": "./dist/development/dom-export.mjs",
52 "default": "./dist/development/dom-export.js"
53 },
54 "import": {
55 "types": "./dist/development/dom-export.d.mts",
56 "default": "./dist/development/dom-export.mjs"
57 },
58 "default": {
59 "types": "./dist/development/dom-export.d.ts",
60 "default": "./dist/development/dom-export.js"
61 }
62 },
63 "./package.json": "./package.json"
64 },
65 "wireit": {
66 "build": {
67 "command": "rimraf dist && tsup",
68 "files": [
69 "lib/**",
70 "*.ts",
71 "tsconfig.json",
72 "package.json"
73 ],
74 "output": [
75 "dist/**"
76 ]
77 }
78 },
79 "dependencies": {
80 "@types/cookie": "^0.6.0",
81 "cookie": "^1.0.1",
82 "set-cookie-parser": "^2.6.0",
83 "turbo-stream": "2.4.0"
84 },
85 "devDependencies": {
86 "@types/set-cookie-parser": "^2.4.1",
87 "react": "^18.2.0",
88 "react-dom": "^18.2.0",
89 "rimraf": "^6.0.1",
90 "tsup": "^8.3.0",
91 "typescript": "^5.1.6",
92 "wireit": "0.14.9"
93 },
94 "peerDependencies": {
95 "react": ">=18",
96 "react-dom": ">=18"
97 },
98 "peerDependenciesMeta": {
99 "react-dom": {
100 "optional": true
101 }
102 },
103 "files": [
104 "dist/",
105 "CHANGELOG.md",
106 "LICENSE.md",
107 "README.md"
108 ],
109 "engines": {
110 "node": ">=20.0.0"
111 },
112 "scripts": {
113 "build": "wireit"
114 }
115}
\No newline at end of file