-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
65 lines (65 loc) · 1.72 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
{
"name": "use-mouse-leave",
"version": "1.0.0",
"description": "React hook to reliably run an effect on `mouseleave`",
"main": "dist/index.js",
"unpkg": "dist/index.min.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc && terser --compress --mangle -- dist/index.js > dist/index.min.js",
"prepare": "tsc --noEmit && lint-staged && npm run build",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mjsarfatti/use-mouse-leave.git"
},
"keywords": [
"react",
"hooks",
"mouseleave",
"onmouseleave"
],
"author": "Manuele J Sarfatti <[email protected]> (mjsarfatti.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/mjsarfatti/use-mouse-leave/issues"
},
"homepage": "https://github.com/mjsarfatti/use-mouse-leave#readme",
"devDependencies": {
"@types/react": "^16.9.2",
"@types/react-dom": "^16.9.0",
"@typescript-eslint/eslint-plugin": "^2.3.0",
"@typescript-eslint/parser": "^2.3.0",
"eslint": "^6.4.0",
"eslint-config-prettier": "^6.3.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.14.3",
"husky": "^3.0.5",
"lint-staged": "^9.3.0",
"prettier": "^1.18.2",
"terser": "^4.3.1",
"typescript": "^3.6.3"
},
"dependencies": {
"@types/throttle-debounce": "^2.1.0",
"throttle-debounce": "^2.1.0",
"tslib": "^1.10.0"
},
"peerDependencies": {
"react": "^16.9.0",
"react-dom": "^16.9.0"
},
"husky": {
"hooks": {
"pre-commit": "tsc --noEmit && lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx,jsx}": [
"prettier --write",
"eslint --fix",
"git add"
]
}
}