-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
71 lines (71 loc) · 1.66 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
{
"name": "use-window-focus",
"version": "1.4.3",
"description": "React Hook to show if window is focused or not",
"main": "dist/use-window-focus.js",
"types": "dist/index.d.ts",
"module": "dist/use-window-focus.module.js",
"files": [
"dist",
"src"
],
"repository": "jpalumickas/use-window-focus",
"author": {
"name": "Justas Palumickas",
"email": "[email protected]",
"url": "jpalumickas.com"
},
"license": "MIT",
"scripts": {
"dev": "microbundle watch --jsx React.createElement",
"build": "rimraf dist && microbundle src/index.ts --jsx React.createElement",
"test": "jest",
"prepare": "husky install"
},
"peerDependencies": {
"react": ">=16.8"
},
"devDependencies": {
"@testing-library/react": "^14.2.1",
"@testing-library/react-hooks": "^8.0.1",
"@types/jest": "^29.5.12",
"@types/react": "^18.2.61",
"@types/react-dom": "^18.2.19",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.2",
"microbundle": "^0.15.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.2",
"tslib": "^2.6.2",
"typescript": "^5.3.3"
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write",
"git add"
]
},
"engines": {
"node": ">=12"
},
"keywords": [
"react",
"hooks",
"typescript",
"javascript",
"window",
"focus"
],
"packageManager": "[email protected]"
}