UNPKG

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