-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
81 lines (81 loc) · 1.89 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
{
"name": "use-broadcast-channel",
"version": "0.3.0",
"description": "React hooks for accessing web broadcast channel.",
"type": "module",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"types": "./esm/index.d.ts",
"files": [
"cjs",
"esm",
"index.ts"
],
"exports": {
"./package.json": "./package.json",
".": {
"types": "./esm/index.d.ts",
"require": "./cjs/index.js",
"default": "./esm/index.js"
}
},
"scripts": {
"build": "rm -rf dist & true; yarn build:cjs & yarn build:esm",
"build:cjs": "rm -rf cjs; tsc -p tsconfig.cjs.json",
"build:esm": "rm -rf esm; tsc -p tsconfig.esm.json",
"start": "tsc --watch --noEmit --emitDeclarationOnly false",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/GuptaSiddhant/react-broadcast-channel.git"
},
"keywords": [
"react",
"hook",
"hooks",
"use",
"broadcast",
"channel",
"share",
"browser",
"state",
"tabs"
],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/GuptaSiddhant/react-broadcast-channel/issues"
},
"homepage": "https://github.com/GuptaSiddhant/react-broadcast-channel#readme",
"devDependencies": {
"@types/jest": "^29.5.3",
"@types/node": "^20.4.8",
"@types/react": "^18.2.19",
"@vitejs/plugin-react": "^4.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.1.6",
"vite": "^5.2.13"
},
"peerDependencies": {
"@types/node": ">16",
"@types/react": ">17",
"broadcastchannel-polyfill": "^1.0.0",
"react": "^16.8 || 17 || 18 || >19"
},
"peerDependenciesMeta": {
"@types/node": {
"optional": true
},
"@types/react": {
"optional": true
},
"broadcastchannel-polyfill": {
"optional": true
},
"react": {
"optional": false
}
}
}