-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
57 lines (57 loc) · 1.37 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
{
"name": "use-confirm",
"description": "asynchronous confirm function for React",
"version": "1.0.1",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.esm.js",
"types": "./dist/index.d.ts",
"license": "MIT",
"author": {
"name": "Daniil Tsivinsky",
"url": "https://tsivinsky.com",
"email": "[email protected]"
},
"keywords": [
"react",
"react-hooks",
"confirm",
"asynchronous"
],
"repository": "github:tsivinsky/use-confirm",
"homepage": "https://github.com/tsivinsky/use-confirm#readme",
"bugs": {
"url": "https://github.com/tsivinsky/use-confirm/issues"
},
"packageManager": "[email protected]",
"scripts": {
"prepare": "husky install",
"clean": "rimraf ./dist",
"format": "prettier -w .",
"build:esbuild": "yarn clean && node build.js",
"build": "yarn build:esbuild && yarn gen-types",
"gen-types": "tsc --emitDeclarationOnly",
"prepublishOnly": "yarn build"
},
"devDependencies": {
"@types/react": "^18.3.3",
"esbuild": "^0.21.4",
"husky": "^9.0.11",
"prettier": "^3.2.5",
"react": "^18.3.1",
"rimraf": "^5.0.7",
"typescript": "^5.4.5"
},
"peerDependencies": {
"react": "^16.8.0 || ^17 || ^18"
},
"exports": {
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs"
}
},
"files": [
"dist"
]
}