/
package.json
86 lines (86 loc) · 2.18 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
{
"name": "@guoyunhe/react-auth",
"version": "2.3.0",
"description": "React components & hooks for authentication. To be used with axios and react-router-dom.",
"keywords": [
"react",
"authentication",
"components",
"hooks",
"context",
"provider",
"login",
"logout"
],
"homepage": "https://guoyunhe.github.io/react-auth/",
"bugs": {
"url": "https://github.com/guoyunhe/react-auth/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/guoyunhe/react-auth.git"
},
"funding": "https://github.com/sponsors/guoyunhe",
"license": "GPL-3.0",
"author": {
"name": "Guo Yunhe",
"email": "i@guoyunhe.me"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"typings": "dist/index.d.ts",
"files": [
"dist",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"scripts": {
"build": "react-lib-scripts build",
"deploy": "gh-pages -d build",
"format": "react-lib-scripts format",
"lint": "react-lib-scripts lint",
"start": "react-lib-scripts start",
"test": "react-lib-scripts test",
"watch": "react-lib-scripts watch"
},
"prettier": {
"printWidth": 100,
"singleQuote": true
},
"eslintConfig": {
"extends": "@guoyunhe/react-lib-scripts"
},
"jest": {
"preset": "@guoyunhe/react-lib-scripts"
},
"devDependencies": {
"@guoyunhe/react-lib-scripts": "^1.4.0",
"@testing-library/dom": "^9.3.1",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@tsconfig/vite-react": "^1.0.1",
"@types/jest": "^29.5.3",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@types/swagger-ui-react": "^4.18.0",
"axios": "^1.4.0",
"axios-mock-adapter": "^1.21.5",
"gh-pages": "^5.0.0",
"prism-react-renderer": "^1.3.5",
"react": "^18.2.0",
"react-doc-ui": "^1.0.1",
"react-dom": "^18.2.0",
"react-router-dom": "^6.14.1",
"swagger-ui-react": "^4.19.1",
"typescript": "^4.9.5"
},
"peerDependencies": {
"axios": "^1.0.0",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-router-dom": "^6.0.0"
},
"dependencies": {
"@guoyunhe/react-storage": "^1.0.0"
}
}