-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 1.75 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
{
"name": "react-hook-use-window-width",
"author": "Benjamin Rast",
"module": "dist/react-hook-use-window-width.esm.js",
"version": "2.0.1",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/dziksu/react-hook-use-window-width"
},
"files": [
"dist",
"src"
],
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test --passWithNoTests",
"test:watch": "tsdx test --watch",
"lint": "tsdx lint",
"lint:fix": "tsdx lint --fix",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why",
"prepublish": "tsdx build",
"deploy": "np"
},
"engines": {
"node": ">=10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"peerDependencies": {
"react": ">=16.8"
},
"size-limit": [
{
"path": "dist/react-hook-use-window-width.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/react-hook-use-window-width.esm.js",
"limit": "10 KB"
}
],
"husky": {
"hooks": {
"pre-commit": "npm run test"
}
},
"dependencies": {
"react": ">=16.8",
"resize-observer-polyfill": "^1.5.1"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^7.0.8",
"@testing-library/react-hooks": "^7.0.2",
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.11",
"husky": "^7.0.4",
"np": "^7.6.0",
"react-dom": "^17.0.2",
"size-limit": "^7.0.8",
"tsdx": "^0.14.1",
"tslib": "^2.3.1",
"typescript": "^4.5.5"
},
"keywords": [
"react",
"hook",
"react-hook",
"utils",
"useWindowWidth",
"use-window-width",
"window",
"width"
]
}