-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 1.62 KB
/
Copy pathpackage.json
File metadata and controls
69 lines (69 loc) · 1.62 KB
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
{
"name": "react-use-disclosure",
"version": "12.0.1",
"description": "Simple React custom hook to handle simple open, close, toggle states",
"repository": {
"type": "git",
"url": "git+https://github.com/yoannfleurydev/react-use-disclosure.git"
},
"author": {
"name": "Yoann Fleury",
"email": "yoann.fleury@yahoo.com",
"url": "https://www.yoannfleury.dev"
},
"type": "module",
"license": "MIT",
"files": [
"index.*",
"dist/"
],
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.cts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"scripts": {
"dev": "tsdown index.ts --format esm,cjs --dts --watch",
"build": "tsdown index.ts --format esm,cjs --dts --minify",
"test": "vitest --no-watch",
"test:coverage": "vitest --coverage",
"test:watch": "vitest"
},
"peerDependencies": {
"react": ">=16.13.1"
},
"devDependencies": {
"@testing-library/react": "16.3.2",
"@types/react": "19.2.14",
"@vitest/coverage-v8": "4.1.6",
"all-contributors-cli": "6.26.1",
"auto": "11.3.6",
"jsdom": "29.1.1",
"react": "19.2.6",
"react-dom": "19.2.6",
"react-test-renderer": "19.2.6",
"tsdown": "0.22.3",
"typescript": "6.0.3",
"vitest": "4.1.6"
},
"auto": {
"plugins": [
"npm",
"released"
],
"onlyPublishWithReleaseLabel": true
},
"pnpm": {
"onlyBuiltDependencies": []
}
}