-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
103 lines (103 loc) · 2.64 KB
/
package.json
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
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "react-guardian",
"version": "1.1.0",
"description": "Declarative authentication and authorization for React applications",
"author": "Mohammad Ataei",
"license": "MIT",
"keywords": [
"auth",
"react",
"middleware",
"guard",
"react-guard",
"react-middleware"
],
"repository": {
"type": "git",
"url": "https://github.com/mammadataei/react-guardian/"
},
"bugs": {
"url": "https://github.com/mammadataei/react-guardian/issues"
},
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsc && unbuild",
"test": "vitest --ui --open=false",
"coverage": "vitest run --coverage",
"size": "size-limit",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:serve": "vitepress serve docs",
"format": "prettier --write . && pnpm lint --fix",
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
"prepare": "husky install",
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,ts,jsx,tsx}": "eslint --fix",
"*.{js,jsx,ts,tsx,md,html,css}": "prettier --write"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0",
"react-router-dom": "^6.0.0"
},
"devDependencies": {
"@commitlint/cli": "^18.0.0",
"@commitlint/config-conventional": "^18.0.0",
"@size-limit/preset-small-lib": "^8.1.0",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^14.0.0",
"@types/react": "^18.0.24",
"@types/react-dom": "^18.0.8",
"@types/testing-library__jest-dom": "^5.14.5",
"@typescript-eslint/eslint-plugin": "^5.41.0",
"@typescript-eslint/parser": "^5.41.0",
"@vitejs/plugin-react": "^4.0.0",
"@vitest/ui": "^0.33.0",
"c8": "^9.0.0",
"eslint": "^8.26.0",
"eslint-config-prettier": "^9.0.0",
"husky": "^9.0.0",
"jsdom": "^24.0.0",
"lint-staged": "^15.0.0",
"prettier": "3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.4.2",
"size-limit": "^8.1.0",
"typescript": "^5.0.0",
"unbuild": "^2.0.0",
"vite": "^5.0.0",
"vitepress": "1.0.0-rc.42",
"vitest": "^0.33.0",
"vue": "^3.2.41"
},
"size-limit": [
{
"limit": "1 kB",
"path": "dist/index.mjs"
}
],
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"@algolia/client-search"
]
}
},
"packageManager": "[email protected]"
}