forked from xnimorz/use-debounce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
102 lines (102 loc) · 2.51 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
94
95
96
97
98
99
100
101
102
{
"name": "use-debounce",
"version": "5.2.0",
"description": "Debounce hook for react",
"main": "lib/index.js",
"module": "esm/index.js",
"types": "./lib",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./esm/index.js",
"require": "./lib/index.js"
}
},
"sideEffects": false,
"scripts": {
"size": "yarn build && size-limit",
"test": "yarn jest && eslint \"src/**.ts\"",
"build": "rm -rf ./lib/* ./esm/* && yarn build:cjs && yarn build:es",
"build:cjs": "tsc",
"build:es": "tsc -m esNext --outDir esm",
"prepublishOnly": "npm run build"
},
"engines": {
"node": ">= 10.0.0"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/xnimorz/use-debounce.git"
},
"keywords": [
"debounce",
"react-hook",
"react"
],
"author": "Nikita Mostovoy ([email protected])",
"license": "MIT",
"bugs": {
"url": "https://github.com/xnimorz/use-debounce/issues"
},
"files": [
"esm",
"lib"
],
"peerDependencies": {
"react": ">=16.8.0"
},
"homepage": "https://github.com/xnimorz/use-debounce#readme",
"devDependencies": {
"@size-limit/preset-small-lib": "^4.6.2",
"@types/enzyme": "^3.9.3",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/jest": "^26.0.10",
"@types/node": "^12.0.4",
"@types/react": "^16.8.19",
"@types/react-dom": "^16.8.4",
"@typescript-eslint/eslint-plugin": "^1.9.0",
"@typescript-eslint/parser": "^1.9.0",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.13.2",
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.3.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-node": "^9.0.1",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-react-hooks": "^1.6.0",
"eslint-plugin-standard": "^4.0.0",
"jest": "^26.4.2",
"prettier": "^1.17.1",
"react": "16.8.3",
"react-dom": "16.8.3",
"size-limit": "^4.6.2",
"ts-jest": "^26.3.0",
"typescript": "^3.5.1"
},
"resolutions": {
"kind-of": "6.0.3"
},
"size-limit": [
{
"path": "esm/index.js",
"limit": "1 KB"
},
{
"path": "esm/index.js",
"import": "{ useDebounce }",
"limit": "1 KB"
},
{
"path": "esm/index.js",
"import": "{ useDebouncedCallback }",
"limit": "1 KB"
},
{
"path": "esm/index.js",
"import": "{ useThrottledCallback }",
"limit": "1 KB"
}
]
}