-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 2.48 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
82
83
84
{
"name": "@bscop/use-click-out",
"version": "1.3.1",
"description": "A custom React hook to fire an event when user clicks outside the component.",
"main": "package/dist/index.js",
"module": "package/dist/index.es.js",
"types": "package/src/index.d.ts",
"scripts": {
"badge:coverage": "npm run test:coverage && codecov",
"prebuild": "rm -rf ./package/dist",
"build": "rollup -c rollup.config.js",
"lint": "eslint 'package/**'",
"prepare": "husky install",
"prepublishOnly": "npm run build",
"release": "standard-version",
"test": "npm run lint && npm run test:types && npm run test:unit",
"test:debug": "node --inspect $(npm bin)/jest --watch --no-cache --runInBand",
"test:types": "tsc --noEmit -p package/src",
"test:unit": "jest --runInBand --coverage"
},
"repository": {
"type": "git",
"url": "git+https://github.com/brunoscopelliti/use-click-out.git"
},
"directories": {
"src": "package/src"
},
"files": [
"package/dist",
"package/src/index.d.ts",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"keywords": [
"react",
"react hook",
"use-click-out",
"click out",
"click outside",
"hook click out",
"hook click outside"
],
"author": "Bruno Scopelliti",
"license": "MIT",
"bugs": {
"url": "https://github.com/brunoscopelliti/use-click-out/issues"
},
"homepage": "https://github.com/brunoscopelliti/use-click-out#readme",
"devDependencies": {
"@babel/preset-env": "^7.16.7",
"@babel/preset-react": "^7.16.7",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.4.0",
"@types/react": "^17.0.38",
"babel-jest": "^27.4.6",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"codecov": "^3.8.3",
"eslint": "^7.29.0",
"eslint-config-bruno": "^3.0.0",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-testing-library": "^4.6.0",
"husky": "^7.0.4",
"jest": "^27.4.7",
"prop-types": "^15.8.1",
"rollup": "^2.63.0",
"standard-version": "^9.3.2",
"typescript": "^4.5.4"
},
"peerDependencies": {
"react": ">=17.0.0",
"react-dom": ">=17.0.0"
},
"dependencies": {
"@bscop/use-forward-ref": "^1.0.2"
}
}