forked from streamich/react-use
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
167 lines (167 loc) Β· 4.67 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
{
"name": "react-use",
"version": "17.3.1",
"description": "Collection of React Hooks",
"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": "yarn storybook",
"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",
"clean": "rimraf lib storybook-static esm",
"storybook": "start-storybook -p 6008",
"storybook:build": "build-storybook",
"storybook:upload": "gh-pages -d storybook-static --git \"$(which git)\"",
"storybook:clean": "rimraf storybook-static",
"release": "semantic-release"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn lint && yarn clean && yarn build && yarn test"
}
},
"author": "@streamich",
"license": "Unlicense",
"repository": {
"type": "git",
"url": "https://github.com/streamich/react-use"
},
"bugs": {
"url": "https://github.com/streamich/react-use/issues"
},
"homepage": "https://github.com/streamich/react-use#readme",
"dependencies": {
"@types/js-cookie": "^2.2.6",
"@xobotyi/scrollbar-width": "^1.9.5",
"copy-to-clipboard": "^3.3.1",
"fast-deep-equal": "^3.1.3",
"fast-shallow-equal": "^1.0.0",
"js-cookie": "^2.2.1",
"nano-css": "^5.3.1",
"react-universal-interface": "^0.6.2",
"resize-observer-polyfill": "^1.5.1",
"screenfull": "^5.1.0",
"set-harmonic-interval": "^1.0.1",
"throttle-debounce": "^3.0.1",
"ts-easing": "^0.2.0",
"tslib": "^2.1.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0",
"react-dom": "^16.8.0 || ^17.0.0"
},
"devDependencies": {
"@babel/core": "7.15.8",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/preset-env": "7.15.8",
"@babel/preset-react": "7.14.5",
"@babel/preset-typescript": "7.15.0",
"@semantic-release/changelog": "5.0.1",
"@semantic-release/git": "9.0.1",
"@semantic-release/npm": "7.1.3",
"@shopify/jest-dom-mocks": "2.11.7",
"@storybook/addon-actions": "6.3.12",
"@storybook/addon-knobs": "6.2.9",
"@storybook/addon-notes": "5.3.21",
"@storybook/addon-options": "5.3.21",
"@storybook/react": "6.3.12",
"@testing-library/react": "12.1.2",
"@testing-library/react-hooks": "7.0.2",
"@types/jest": "27.0.2",
"@types/react": "17.0.0",
"@typescript-eslint/eslint-plugin": "5.2.0",
"@typescript-eslint/parser": "5.2.0",
"babel-core": "6.26.3",
"babel-eslint": "10.1.0",
"babel-loader": "8.2.3",
"babel-plugin-dynamic-import-node": "2.3.3",
"eslint": "7.32.0",
"eslint-config-prettier": "8.3.0",
"eslint-config-react-app": "6.0.0",
"eslint-plugin-flowtype": "8.0.2",
"eslint-plugin-import": "2.25.2",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.26.1",
"eslint-plugin-react-hooks": "4.2.0",
"fork-ts-checker-webpack-plugin": "6.4.0",
"gh-pages": "3.2.3",
"husky": "7.0.4",
"jest": "26.6.3",
"jest-localstorage-mock": "2.4.18",
"keyboardjs": "2.6.4",
"lint-staged": "11.2.6",
"markdown-loader": "6.0.0",
"prettier": "2.3.0",
"raf-stub": "3.0.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-frame-component": "5.1.0",
"react-spring": "9.3.0",
"react-test-renderer": "17.0.2",
"rebound": "0.1.0",
"redux-logger": "3.0.6",
"redux-thunk": "2.4.0",
"rimraf": "3.0.2",
"rxjs": "7.4.0",
"semantic-release": "17.4.7",
"ts-jest": "26.5.6",
"ts-loader": "9.2.6",
"ts-node": "10.4.0",
"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": "14.18.1",
"yarn": "1.22.17"
},
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/react-use"
}
}