{"name":"react-intersection-observer","version":"9.11.0","description":"Monitor if a component is inside the viewport, using IntersectionObserver API","type":"commonjs","source":"src/index.tsx","main":"dist/index.js","module":"dist/esm/index.js","types":"dist/index.d.ts","exports":{"./test-utils":{"types":"./dist/test-utils.d.mts","require":"./dist/test-utils.js","default":"./dist/test-utils.mjs"},".":{"types":"./dist/index.d.mts","require":"./dist/index.js","default":"./dist/index.mjs"}},"author":{"name":"Daniel Schmidt"},"license":"MIT","sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/thebuilder/react-intersection-observer.git"},"packageManager":"pnpm@9.5.0+sha256.dbdf5961c32909fb030595a9daa1dae720162e658609a8f92f2fa99835510ca5","scripts":{"prebuild":"rm -rf dist lib","build":"run-s build:*","build:bundle":"tsup src/index.tsx","build:legacy":"tsup src/index.tsx --format esm --legacy-output --no-clean --no-dts","build:utils":"tsup src/test-utils.ts --no-clean --no-sourcemap","postbuild":"size-limit","dev":"run-p dev:*","dev:package":"tsup src/index.tsx --watch","dev:storybook":"pnpm --filter storybook dev","lint":"biome check .","version":"pnpm build","storybook:build":"pnpm build:bundle && pnpm --filter storybook build","test":"vitest"},"keywords":["react","component","hooks","viewport","intersection","observer","lazy load","inview","useInView","useIntersectionObserver"],"release":{"branches":["main",{"name":"beta","prerelease":true}],"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/npm","@semantic-release/github"]},"simple-git-hooks":{"pre-commit":"npx lint-staged"},"lint-staged":{"*.{js,json,css,md,ts,tsx}":["biome check --apply --no-errors-on-unmatched --files-ignore-unknown=true"]},"size-limit":[{"path":"dist/index.mjs","name":"InView","import":"{ InView }","limit":"1.8 kB"},{"path":"dist/index.mjs","name":"useInView","import":"{ useInView }","limit":"1.3 kB"},{"path":"dist/index.mjs","name":"observe","import":"{ observe }","limit":"1 kB"}],"peerDependencies":{"react":"^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0","react-dom":"^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"},"devDependencies":{"@biomejs/biome":"^1.8.3","@size-limit/preset-small-lib":"^11.1.4","@testing-library/jest-dom":"^6.4.6","@testing-library/react":"^16.0.0","@types/jest":"^29.5.12","@types/react":"^18.3.3","@types/react-dom":"^18.3.0","jsdom":"^24.1.0","lint-staged":"^15.2.7","microbundle":"^0.15.1","npm-run-all":"^4.1.5","react":"^18.3.1","react-dom":"^18.3.1","simple-git-hooks":"^2.11.1","size-limit":"^11.1.4","tsup":"^8.1.0","typescript":"^5.5.3","vitest":"^1.6.0"},"peerDependenciesMeta":{"react-dom":{"optional":true}},"pnpm":{"peerDependencyRules":{"allowedVersions":{"react":"18","vite":"5"}},"allowedDeprecatedVersions":{"rollup-plugin-terser":"*","sourcemap-codec":"*","source-map-resolve":"*","source-map-url":"*","stable":"*","urix":"*"}},"_id":"react-intersection-observer@9.11.0","gitHead":"e3f81294429097280372cbfd46df61a826379b7d","bugs":{"url":"https://github.com/thebuilder/react-intersection-observer/issues"},"homepage":"https://github.com/thebuilder/react-intersection-observer#readme","_nodeVersion":"20.15.0","_npmVersion":"10.8.2","dist":{"shasum":"f9e271ceb09391dcb612eeeb9dd564889f8e005c","size":26059,"noattachment":false,"key":"/react-intersection-observer/-/react-intersection-observer-9.11.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-intersection-observer/download/react-intersection-observer-9.11.0.tgz"},"_npmUser":{"name":"thebuilder","email":"dsc@charlietango.dk"},"directories":{},"maintainers":[{"name":"thebuilder","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-intersection-observer_9.11.0_1720682013692_0.10730718275303563"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-07-11T07:13:33.821Z","publish_time":1720682013821,"_source_registry_name":"default","_cnpm_publish_time":1720682013821,"dist-tags":{"beta":"9.5.0-beta.2","latest":"10.0.3"}}