-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
79 lines (79 loc) · 1.69 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
{
"name": "use-visibility-change",
"publishConfig": {
"access": "public"
},
"version": "0.5.0",
"description": "Know how long it's been since a user has \"seen\" your app.",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=14"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test --passWithNoTests",
"lint": "tsdx lint",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"printWidth": 100,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"author": "Donavon West <github@donavon.com>",
"module": "dist/use-visibility-change.esm.js",
"size-limit": [
{
"path": "dist/use-visibility-change.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/use-visibility-change.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@size-limit/preset-small-lib": "^7.0.3",
"@testing-library/react-hooks": "^7.0.2",
"@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11",
"husky": "^7.0.4",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"size-limit": "^7.0.3",
"tsdx": "^0.14.1",
"tslib": "^2.3.1",
"typescript": "^3.9.10"
},
"peerDependencies": {
"react": ">=16.8.0"
},
"jest": {
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 75,
"lines": 100,
"statements": 100
}
}
},
"dependencies": {
"@use-it/event-listener": "^0.1.7"
}
}