-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
42 lines (42 loc) · 979 Bytes
/
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
{
"name": "use-detector",
"description": "`useDetector` React hook allows components to observe changes to a value and triggers re-renders automatically when the value changes.",
"version": "1.2.0",
"type": "module",
"author": {
"name": "Arafat Husayn",
"email": "[email protected]",
"url": "https://arafat.dev"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/arafathusayn/use-detector.git"
},
"scripts": {
"build": "tsup ./src"
},
"devDependencies": {
"@types/react": "^18.2.21",
"react": "^18.2.0",
"tsup": "^8.1.0",
"typescript": "^5.5.3"
},
"peerDependencies": {
"react": "^18.2.0"
},
"files": [
"dist",
"package.json"
],
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts"
}