-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
88 lines (88 loc) · 2.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
80
81
82
83
84
85
86
87
88
{
"name": "outsideclick-react",
"description": "This is a lightweight React package that provides a hook and component for detecting clicks outside of a specified element.",
"private": false,
"version": "0.2.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
"lint:fix": "eslint --fix 'src/**/*.{jsx,ts,tsx}'",
"format": "prettier --write src/**/*.{ts,tsx,css} --config ./.prettierrc",
"prepare": "husky install"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"yarn eslint",
"yarn format"
]
},
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/outsideclick-react.es.js",
"require": "./dist/outsideclick-react.umd.js"
}
},
"main": "./dist/outsideclick-react.umd.js",
"module": "./dist/outsideclick-react.es.js",
"types": "./dist/index.d.ts",
"devDependencies": {
"@types/node": "^18.7.6",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^5.34.0",
"@typescript-eslint/parser": "^5.34.0",
"@vitejs/plugin-react": "^2.1.0",
"eslint": "^8.2.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^4.6.4",
"vite": "^3.1.0",
"vite-plugin-dts": "^1.4.1",
"vite-plugin-linter": "^1.2.0",
"vite-tsconfig-paths": "^3.5.0"
},
"peerDependencies": {
"react": "16.8.0 || >=17.x",
"react-dom": "16.8.0 || >=17.x"
},
"repository": {
"type": "git",
"url": "https://github.com/iqbal-rashed/outsideclick-react"
},
"keywords": [
"outsideclick",
"react",
"hook",
"component",
"outsideclickhandler",
"click"
],
"author": "Rashed Iqbal",
"bugs": {
"url": "https://github.com/iqbal-rashed/outsideclick-react/issues"
},
"homepage": "https://github.com/iqbal-rashed/outsideclick-react",
"license": "MIT"
}