@nextui-org/use-disclosure
Version:
The hook in charge of managing modals
61 lines • 1.43 kB
JSON
{
"name": "@nextui-org/use-disclosure",
"version": "2.2.2",
"description": "The hook in charge of managing modals",
"keywords": [
"use-disclosure"
],
"author": "Junior Garcia <jrgarciadev@gmail.com>",
"homepage": "https://nextui.org",
"license": "MIT",
"main": "dist/index.js",
"sideEffects": false,
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nextui-org/nextui.git",
"directory": "packages/hooks/use-disclosure"
},
"bugs": {
"url": "https://github.com/nextui-org/nextui/issues"
},
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0"
},
"dependencies": {
"@react-aria/utils": "3.26.0",
"@react-stately/utils": "3.10.5",
"@nextui-org/use-callback-ref": "2.1.1"
},
"clean-package": "../../../clean-package.config.json",
"tsup": {
"clean": true,
"target": "es2019",
"format": [
"cjs",
"esm"
]
},
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"build": "tsup src --dts",
"build:fast": "tsup src",
"dev": "pnpm build:fast --watch",
"clean": "rimraf dist .turbo",
"typecheck": "tsc --noEmit"
}
}