-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
68 lines (68 loc) · 1.87 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
{
"name": "@yaireo/react-bouncer",
"version": "1.0.3",
"homepage": "https://github.com/yairEO/react-bouncer",
"description": "Wrap components with a debounce, throttle, or any other delayed-rendering method, to stop them from re-rendering often when their props change",
"keywords": [
"react",
"hooks",
"debounce",
"throttle",
"delay",
"render"
],
"license": "MIT",
"browserslist": [
">1%",
"not dead",
"not ie < 11",
"not IE_Mob 11",
"not op_mini all"
],
"np": {
"yarn": false,
"yolo": true
},
"babel": {
"presets": [
"@babel/preset-env",
[
"@babel/preset-react",
{
"runtime": "automatic"
}
]
]
},
"scripts": {
"start": "npm run build && npm run header",
"build": "babel src/react-bouncer.js --out-file react-bouncer.js --source-maps",
"header": "headr react-bouncer.js -o=react-bouncer.js --version --homepage --author",
"version": "npm run build && npm run header && git add .",
"prepublishOnly": "pkg-ok"
},
"author": "Yair Even-Or <[email protected]>",
"main": "react-bouncer.js",
"repository": {
"type": "git",
"url": "git+https://github.com/yairEO/react-bouncer.git"
},
"bugs": {
"url": "https://github.com/yaireo/react-bouncer/issues"
},
"files": [
"react-bouncer.js",
"react-bouncer.js.map"
],
"peerDependencies": {
"react": "^16.18.0"
},
"devDependencies": {
"lodash.debounce": "^4.0.8",
"headr": "^0.0.4",
"@babel/cli": "^7.18.10",
"@babel/core": "^7.18.13",
"@babel/preset-env": "^7.18.10",
"@babel/preset-react": "^7.18.6"
}
}