-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
64 lines (64 loc) · 1.72 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
{
"name": "@yaireo/react-ref-watcher",
"version": "0.1.0",
"homepage": "https://github.com/yairEO/react-ref-watcher",
"description": "React watchable refs changes with conditional re-renders",
"keywords": [
"react",
"hooks",
"hook",
"useRef",
"proxy",
"watch",
"listen",
"changes",
"detect",
"watchable"
],
"license": "MIT",
"browserslist": [
">1%",
"not dead",
"not ie < 11",
"not IE_Mob 11",
"not op_mini all"
],
"np": {
"yarn": false,
"yolo": true
},
"scripts": {
"start": "npm run build",
"build": "terser useRefWatcher.js --compress --mangle --output dist/useRefWatcher.js",
"clean": "rm -rf dist && npm run makedir",
"makedir": "mkdirp dist",
"header": "headr dist/useRefWatcher.js -o=dist/useRefWatcher.js --version --homepage --author",
"_version": "npm run build && npm run header && git add .",
"prepublishOnly": "pkg-ok"
},
"author": "Yair Even-Or <[email protected]>",
"main": "./src/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/yairEO/react-ref-watcher.git"
},
"bugs": {
"url": "https://github.com/yaireo/react-ref-watcher/issues"
},
"files": [
"src/index.js",
"src/useWatchableRef.js",
"src/useWatchableListener.js",
"src/useWatchableEffect.js",
"src/propWatcher.js"
],
"peerDependencies": {
"react": "^18.0.0"
},
"devDependencies": {
"headr": "^0.0.4",
"mkdirp": "^1.0.4",
"rimraf": "^3.0.2",
"terser": "^5.14.2"
}
}