-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 2.47 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
{
"name": "react-use-storage-state",
"version": "1.0.5",
"description": "React use hook for shared and persisted state",
"keywords": [
"react",
"react hook",
"shared state",
"persistent",
"localStorage",
"dispatch",
"event"
],
"author": "Beeno Tung <aabbcc1241@yahoo.com.hk> (https://beeno-tung.surge.sh)",
"license": "BSD-2-Clause",
"main": "dist/cjs/core.js",
"types": "dist/cjs/core.d.ts",
"module": "dist/esm/core.js",
"files": [
"src",
"dist"
],
"scripts": {
"fix-react": "node scripts/fix-react.js",
"format": "run-s restore prettier",
"prettier": "prettier --write \"src/**/*.{ts,tsx}\"",
"start": "run-s fix-react react:start",
"react:start": "react-scripts start",
"react:build": "react-scripts build",
"restore": "node scripts/restore.js",
"clean": "rimraf dist",
"build": "run-s clean format tsc",
"tsc": "run-p build:cjs build:esm",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"test": "CI=true react-scripts test",
"test:watch": "react-scripts test",
"build:demo": "run-s fix-react react:build",
"upload": "run-s build:demo surge",
"surge": "surge build https://react-use-storage-state-demo.surge.sh",
"eject": "react-scripts eject"
},
"peerDependencies": {
"react": "*"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.21",
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.13",
"npm-run-all": "^4.1.5",
"prettier": "^2.5.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-refresh": "^0.11.0",
"react-scripts": "5.0.0",
"rimraf": "^3.0.2",
"surge": "^0.23.1",
"typescript": "^4.6.2",
"web-vitals": "^2.1.4"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/beenotung/react-use-storage-state.git"
},
"bugs": {
"url": "https://github.com/beenotung/react-use-storage-state/issues"
},
"homepage": "https://github.com/beenotung/react-use-storage-state#readme"
}