-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
64 lines (64 loc) · 1.54 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
{
"name": "react-detect-click-outside",
"version": "1.1.7",
"description": "Detects clicks outside React components, and also handles keypresses.",
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "https://github.com/zhaluza/react-detect-click-outside.git"
},
"scripts": {
"build": "rollup -c",
"start": "rollup -c -w",
"test": "jest --verbose",
"lint": "prettier --check .",
"format": "prettier --write .",
"_postinstall": "husky install",
"prepare": "pinst --disable",
"postpublish": "pinst --enable",
"publish": "yarn build && npm publish"
},
"keywords": [
"react",
"click",
"detect",
"outside",
"component"
],
"author": "Zac Haluza",
"license": "ISC",
"devDependencies": {
"@testing-library/jest-dom": "^5.11.5",
"@testing-library/react": "^11.1.1",
"@types/jest": "^26.0.15",
"@types/react": "^16.9.56",
"@types/react-dom": "^16.9.9",
"babel-core": "^6.26.3",
"babel-runtime": "^6.26.0",
"husky": "^5.0.0-beta.0",
"jest": "^26.6.3",
"pinst": "^2.0.0",
"rollup": "^2.33.1",
"rollup-plugin-typescript2": "^0.29.0",
"ts-jest": "^26.4.3",
"typescript": "^4.0.5"
},
"peerDependencies": {
"react": "^16.8.0 || ^17 || ^18",
"react-dom": "^16.8.0 || ^17 || ^18"
},
"files": [
"dist"
],
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
]
}
}