-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 1.18 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
{
"name": "use-delayed-search",
"version": "0.1.5",
"description": "useDelayedSearch is a react hook to delay search value",
"author": "Ali Toshmatov",
"license": "MIT",
"types": "./lib/cjs/types/index.d.ts",
"main": "./lib/cjs/index.js",
"keywords": [
"useDelayedSearch",
"search",
"delayed search",
"typing",
"react"
],
"repository": {
"type": "git",
"url": "https://github.com/alitoshmatov/use-delayed-search.git"
},
"scripts": {
"clean": "rm -rf ./lib",
"build": "npm run clean && npm run build:esm && npm run build:cjs",
"build:esm": "tsc -p ./configs/tsconfig.esm.json && mv lib/esm/index.js lib/esm/index.mjs",
"build:cjs": "tsc -p ./configs/tsconfig.cjs.json",
"prepack": "npm run build"
},
"files": [
"lib/**/*"
],
"exports": {
".": {
"import": {
"types": "./lib/esm/types/index.d.ts",
"default": "./lib/esm/index.mjs"
},
"require": {
"types": "./lib/cjs/types/index.d.ts",
"default": "./lib/cjs/index.js"
}
}
},
"devDependencies": {
"@types/react": "^18.0.26",
"typescript": "^4.9.4"
},
"dependencies": {
"react": "^18.2.0"
}
}