-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 2.11 KB
/
package.json
File metadata and controls
91 lines (91 loc) · 2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "routekeeper-react",
"version": "2.1.2",
"description": "A React RouteGuard component for role-based and protected routing.",
"author": "Isaac Anasonye",
"license": "MIT",
"homepage": "https://github.com/Isaacprogi/routekeeper-react#readme",
"repository": {
"type": "git",
"url": "https://github.com/Isaacprogi/routekeeper-react.git"
},
"bugs": {
"url": "https://github.com/Isaacprogi/routekeeper-react/issues"
},
"keywords": [
"react",
"react-router",
"react-router-dom",
"routing",
"route-guard",
"route-protection",
"protected-routes",
"private-routes",
"auth",
"authentication",
"authorization",
"role-based",
"rbac",
"access-control",
"permissions",
"middleware",
"navigation",
"redirect",
"guard",
"router",
"security",
"react-library",
"react-component"
],
"main": "dist/index.cjs.js",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/index.es.js",
"require": "./dist/index.cjs.js",
"types": "./dist/index.d.ts"
},
"./style.css": "./dist/style.css"
},
"scripts": {
"build": "vite build",
"prepare": "vite build",
"test": "echo \"Error: no test specified\" && exit 1"
},
"peerDependencies": {
"react": "^18 || ^19",
"react-dom": "^18 || ^19",
"react-router-dom": ">=6"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.1.18",
"@types/d3": "^7.4.3",
"@types/node": "^25.0.3",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@vitejs/plugin-react": "^4.0.0",
"autoprefixer": "^10.4.23",
"postcss": "^8.5.6",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^7.11.0",
"tailwindcss": "^4.1.18",
"terser": "^5.44.1",
"typescript": "^5.0.0",
"vite": "^4.4.0",
"vite-plugin-dts": "^3.0.0"
},
"engines": {
"node": ">=16"
},
"dependencies": {
"d3": "^7.9.0",
"react-d3-tree": "^3.6.6",
"react-icons": "^5.5.0",
"vite-plugin-lib-inject-css": "^2.2.2"
}
}