react-intersections
Version:
## Installation
57 lines (56 loc) • 1.44 kB
JSON
{
"name": "react-intersections",
"version": "0.0.13",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts",
"repository": {
"url": "https://github.com/lotus-lab/-intersection-observer.git"
},
"keywords": [
"react",
"react observer api",
"react intersection observer api",
"react hooks",
"typescript",
"inview check",
"react inview",
"intersections observer api",
"intersections observer react",
"lazyloadlazyloadlazy",
"loadvirtual",
"scrollinginfinite",
"scrolling",
"react-lazy-load",
"react-lazyloading",
"react lazy"
],
"files": [
"/lib"
],
"license": "MIT",
"scripts": {
"build": "yarn rimraf lib && yarn build:esm && yarn build:cjs && rollup -c rollup.config.js",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir dist/cjs"
},
"devDependencies": {
"@open-wc/building-rollup": "^2.0.2",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-node-resolve": "^13.3.0",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"deepmerge": "^4.2.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^3.0.2",
"rollup": "^2.78.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.32.1",
"typescript": "^4.7.4"
},
"peerDependencies": {
"react": "^18.2.0"
},
"dependencies": {}
}