forked from streamich/react-use
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
138 lines (138 loc) · 3.65 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "react-use-native",
"version": "0.2.0",
"description": "Collection of React Native Hooks (fork of react-use)",
"main": "lib/index.js",
"module": "esm/index.js",
"sideEffects": false,
"files": [
"lib/",
"esm/"
],
"types": "lib/index.d.ts",
"typings": "lib/index.d.ts",
"scripts": {
"start": "",
"test": "jest --maxWorkers 2",
"test:ssr": "jest --maxWorkers 2 --config ./jest.config.node.ts",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint \"{src,tests,stories}/**/*.{ts,tsx}\"",
"lint:fix": "yarn lint --fix",
"lint:types": "tsc --noEmit",
"build:cjs": "tsc",
"build:es": "tsc -m esNext --outDir esm",
"build": "yarn build:cjs && yarn build:es",
"release": "semantic-release"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn lint && yarn clean && yarn build && yarn test"
}
},
"author": "@floydkim",
"license": "Unlicense",
"repository": {
"type": "git",
"url": "https://github.com/floydkim/react-use-native"
},
"bugs": {
"url": "https://github.com/floydkim/react-use-native/issues"
},
"homepage": "https://github.com/floydkim/react-use-native#readme",
"dependencies": {
"fast-deep-equal": "^3.1.3",
"fast-shallow-equal": "^1.0.0",
"throttle-debounce": "^3.0.1",
"tslib": "^2.1.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@babel/core": "7.20.2",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/preset-env": "7.20.2",
"@babel/preset-react": "7.18.6",
"@babel/preset-typescript": "7.18.6",
"@semantic-release/changelog": "5.0.1",
"@semantic-release/git": "9.0.1",
"@semantic-release/npm": "7.1.3",
"@testing-library/react": "12.1.2",
"@types/jest": "27.5.2",
"@types/react": "17.0.0",
"@typescript-eslint/eslint-plugin": "5.6.0",
"@typescript-eslint/parser": "5.6.0",
"babel-core": "6.26.3",
"babel-eslint": "10.1.0",
"babel-loader": "8.3.0",
"babel-plugin-dynamic-import-node": "2.3.3",
"eslint": "8.28.0",
"eslint-config-prettier": "8.5.0",
"eslint-config-react-app": "6.0.0",
"eslint-plugin-flowtype": "8.0.3",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jsx-a11y": "6.6.1",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.31.11",
"eslint-plugin-react-hooks": "4.6.0",
"fork-ts-checker-webpack-plugin": "6.5.2",
"husky": "7.0.4",
"jest": "26.6.3",
"jest-localstorage-mock": "2.4.22",
"lint-staged": "12.5.0",
"markdown-loader": "6.0.0",
"prettier": "2.3.0",
"raf-stub": "3.0.0",
"react": "17.0.2",
"react-spring": "9.5.5",
"react-test-renderer": "17.0.2",
"redux-logger": "3.0.6",
"redux-thunk": "2.4.2",
"rxjs": "7.5.7",
"semantic-release": "17.4.7",
"ts-jest": "26.5.6",
"ts-loader": "8.4.0",
"ts-node": "10.9.1",
"typescript": "4.1.5"
},
"config": {
"commitizen": {
"path": "git-cz"
}
},
"release": {
"branches": [
"master",
{
"name": "next",
"prerelease": "rc"
}
],
"verifyConditions": [
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git"
],
"prepare": [
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git"
]
},
"lint-staged": {
"src/**/**/*.{ts,tsx}": [
"eslint --fix",
"git add"
]
},
"volta": {
"node": "16.19.0",
"yarn": "1.22.19"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/react-use"
}
}