2024-05-31 00:12:04 -03:00

58 lines
1.4 KiB
JSON

{
"name": "@nextui-org/use-intersection-observer",
"version": "2.0.3",
"description": "Tracks the intersection of a DOM element and its containing element or the viewport.",
"keywords": [
"use-intersection-observer"
],
"author": "Junior Garcia <jrgarciadev@gmail.com>",
"homepage": "https://nextui.org",
"license": "MIT",
"main": "src/index.ts",
"sideEffects": false,
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nextui-org/nextui.git",
"directory": "packages/hooks/use-intersection-observer"
},
"bugs": {
"url": "https://github.com/nextui-org/nextui/issues"
},
"scripts": {
"build": "tsup src --dts",
"build:fast": "tsup src",
"dev": "pnpm build:fast --watch",
"clean": "rimraf dist .turbo",
"typecheck": "tsc --noEmit",
"prepack": "clean-package",
"postpack": "clean-package restore"
},
"dependencies": {
"@react-aria/utils": "3.24.1",
"@react-aria/ssr": "3.9.2",
"@react-types/shared": "3.23.1",
"@react-aria/interactions": "3.21.1"
},
"peerDependencies": {
"react": ">=18"
},
"devDependencies": {
"clean-package": "2.2.0",
"react": "^18.0.0"
},
"clean-package": "../../../clean-package.config.json",
"tsup": {
"clean": true,
"target": "es2019",
"format": [
"cjs",
"esm"
]
}
}