-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
55 lines (55 loc) · 1.55 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
{
"name": "use-viewport-sizes",
"version": "0.7.2",
"description": "a tiny TS-compatible React hook which allows you to track visible window viewport size in your components w/ an optional debounce, throttle or custom memo function for updates for optimal rendering.",
"main": "./build/index.js",
"types": "./build/index.d.ts",
"scripts": {
"start": "webpack --watch",
"build": "webpack",
"dev": "webpack-dev-server --env testServer --mode development --open",
"prepublishOnly": "npm run build",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage"
},
"peerDependencies": {
"react": "^16.8.6 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@babel/cli": "^7.23.0",
"@babel/core": "^7.23.0",
"@babel/plugin-transform-runtime": "^7.22.15",
"@babel/preset-env": "^7.22.20",
"@babel/preset-react": "^7.22.15",
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^14.0.0",
"babel-loader": "^9.1.3",
"copy-webpack-plugin": "^11.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"react": "^18.2.0",
"typescript": "^5.2.2",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4"
},
"keywords": [
"react",
"hooks",
"hook",
"react-hooks",
"window",
"resize",
"viewport",
"viewport-sizes",
"sizes",
"dimensions",
"typescript",
"responsive"
],
"author": "Robert Concepcion III",
"repository": "github:rob2d/use-viewport-sizes",
"license": "MIT",
"files": [
"build/",
"README.md"
]
}