forked from leoafarias/use-state-persist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 1.42 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
{
"name": "use-state-persist",
"author": "leoafarias",
"description": "A simple React Hook to persist useState in local storage.",
"version": "0.2.3",
"license": "MIT",
"main": "dist/index.js",
"react-native": "dist/native/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"engines": {
"node": ">=10"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"build:native": "tsc -b",
"test": "tsdx test",
"test:coverage": "tsdx test --coverage",
"test:watch": "yarn test:coverage --watch",
"lint": "tsdx lint",
"prepare": "tsdx build && yarn build:native"
},
"peerDependencies": {
"react": ">=16"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"module": "dist/use-state-persist.esm.js",
"devDependencies": {
"@react-native-community/async-storage": "^1.11.0",
"@testing-library/react-hooks": "^3.3.0",
"@types/faker": "^4.1.12",
"@types/react": "^16.9.36",
"faker": "^4.1.0",
"husky": "^4.2.5",
"mock-async-storage": "^2.2.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-native": "^0.62.2",
"react-test-renderer": "^16.13.1",
"tsdx": "^0.13.2",
"tslib": "^2.0.0",
"typescript": "^3.9.5"
},
"dependencies": {
"fast-deep-equal": "^3.1.3"
}
}