-
Notifications
You must be signed in to change notification settings - Fork 36
/
package.json
51 lines (51 loc) · 1.38 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
{
"name": "react-resize-aware",
"version": "4.0.0",
"description": "A React hook that makes it possible to listen to element resize events.",
"homepage": "https://github.com/FezVrasta/react-resize-aware#readme",
"author": "Federico Zivolo <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/FezVrasta/react-resize-aware/issues"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/FezVrasta/react-resize-aware.git"
},
"keywords": [
"react",
"resize",
"element",
"queries",
"media",
"query",
"element",
"query",
"react-component"
],
"type": "module",
"main": "./dist/index.umd.js",
"module": "./dist/index.modern.js",
"source": "./src/index.js",
"exports": {
"require": "./dist/index.cjs",
"default": "./dist/index.modern.js"
},
"scripts": {
"start": "microbundle watch",
"prepare": "rm -rf dist && microbundle --jsx 'React.createElement' --jsxImportSource react --globals react/jsx-runtime=jsx && flow-copy-source src dist && cp ./dist/index.js.flow ./dist/index.umd.js.flow && cp ./src/index.d.ts ./dist"
},
"files": [
"dist/*",
"src/*"
],
"devDependencies": {
"flow-bin": "0.199.1",
"flow-copy-source": "^2.0.9",
"microbundle": "^0.15.1",
"react": "16.12.0"
},
"peerDependencies": {
"react": "^16.8.0 || 17.x || 18.x"
}
}