UNPKG

react-infinite-scroll-hook

Version:
69 lines (68 loc) 1.68 kB
{ "name": "react-infinite-scroll-hook", "version": "6.0.0", "description": "A simple hook to create infinite scroll components", "keywords": [ "react", "react-hooks", "infinite-scroll", "react-component" ], "homepage": "https://onderonur.github.io/react-infinite-scroll-hook", "bugs": { "url": "https://github.com/onderonur/react-infinite-scroll-hook/issues" }, "repository": { "type": "git", "url": "git+https://github.com/onderonur/react-infinite-scroll-hook.git" }, "license": "MIT", "author": "onderonur", "exports": { ".": { "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } } }, "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "files": [ "dist" ], "scripts": { "attw": "attw --pack .", "build": "tsup", "dev": "tsup --watch", "lint": "eslint . --max-warnings 0", "lint:fix": "eslint . --fix --max-warnings 0", "prepublishOnly": "npm run build", "publint": "publint", "typecheck": "tsc" }, "dependencies": { "react-intersection-observer-hook": "^4.0.0" }, "devDependencies": { "@arethetypeswrong/cli": "^0.17.4", "@repo/eslint-config": "*", "@repo/lint-staged-config": "*", "@repo/typescript-config": "*", "@types/react": "^19.1.2", "eslint": "^8.57.0", "publint": "^0.3.12", "react": "^19.1.0", "tsup": "^8.4.0", "typescript": "^5.8.3" }, "peerDependencies": { "react": ">=19", "react-dom": ">=19" } }