-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
93 lines (93 loc) · 2.39 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
89
90
91
92
93
{
"name": "use-broadcast-ts",
"version": "1.8.0",
"description": "Use the Broadcast Channel API in React easily with hooks or Zustand, and Typescript!",
"type": "module",
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"exports": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"sideEffects": false,
"scripts": {
"build": "rollup -c --bundleConfigAsCjs",
"postbuild": "tsc --emitDeclarationOnly",
"prepublishOnly": "npm run build",
"test": "jest"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/Romainlg29/use-broadcast.git"
},
"keywords": [
"web",
"api",
"broadcast",
"channel",
"broadcast-channel",
"hooks",
"react",
"react 18",
"zustand",
"middleware",
"state"
],
"author": "Romain Le Gall",
"license": "MIT",
"bugs": {
"url": "https://github.com/Romainlg29/use-broadcast/issues"
},
"devDependencies": {
"@babel/core": "7.21.4",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-transform-modules-commonjs": "7.21.2",
"@babel/plugin-transform-parameters": "7.21.3",
"@babel/plugin-transform-runtime": "7.21.4",
"@babel/plugin-transform-template-literals": "7.18.9",
"@babel/preset-env": "^7.21.4",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.4",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-node-resolve": "^15.0.2",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.5.1",
"@types/node": "^18.15.13",
"@types/react": "^18.0.37",
"@types/react-dom": "^18.0.11",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"babel-jest": "^29.5.0",
"babel-loader": "^9.1.2",
"babel-plugin-dynamic-import-node": "^2.3.3",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"lint-staged": "^13.2.1",
"prettier": "^2.8.7",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"rollup": "^3.20.7",
"typescript": "^5.0.4"
},
"homepage": "https://github.com/Romainlg29/use-broadcast",
"optionalDependencies": {
"zustand": "^4.0.0 || ^5.0.0",
"react": ">=18.0"
}
}