-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 1.4 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 1.4 KB
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": "use-browser-api",
"version": "1.0.0",
"description": "React hook built on useSyncExternalStore to access event-driven browser APIs like network, scroll, fullscreen, and more as subscribable stores.",
"keywords": [
"react",
"hook",
"browser",
"api",
"custom-hook",
"useSyncExternalStore",
"scroll-position",
"device-orientation",
"clipboard",
"fullscreen",
"network",
"visibility",
"viewport",
"event-driven",
"react-hook",
"react-state"
],
"author": "ChristBM",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ChristBM/use-browser-api"
},
"homepage": "https://github.com/ChristBM/use-browser-api#readme",
"bugs": {
"url": "https://github.com/ChristBM/use-browser-api/issues"
},
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsc",
"prepare": "npm run build",
"clean": "rm -rf dist",
"prepublishOnly": "npm run build"
},
"peerDependencies": {
"react": ">=18.0.0"
},
"devDependencies": {
"@types/react": "^18.0.0",
"react": "^18.0.0",
"typescript": "^5.0.0"
},
"engines": {
"node": ">=16"
},
"type": "module"
}