{"name":"react-intersection-observer","version":"9.3.4-beta.1","description":"Monitor if a component is inside the viewport, using IntersectionObserver API","source":"./src/index.tsx","main":"./dist/react-intersection-observer.js","module":"./dist/react-intersection-observer.esm.js","unpkg":"./dist/react-intersection-observer.umd.js","types":"./dist/index.d.ts","exports":{"./test-utils":{"default":"./dist/test-utils.js","types":"./dist/test-utils.d.ts"},".":{"module":"./dist/react-intersection-observer.esm.js","require":"./dist/react-intersection-observer.js","default":"./dist/react-intersection-observer.modern.mjs","types":"./dist/index.d.ts"}},"author":{"name":"Daniel Schmidt"},"sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/thebuilder/react-intersection-observer.git"},"license":"MIT","keywords":["react","component","hooks","viewport","intersection","observer","lazy load","inview","useInView","useIntersectionObserver"],"prettier":{"singleQuote":true,"trailingComma":"all","proseWrap":"always"},"eslintIgnore":["*.snap","test-utils.js","dist/**","lib/**","example/**","webpack.config.js"],"scripts":{"prebuild":"rm -rf dist lib","build":"run-s build:*","build:bundle":"microbundle --name ReactIntersectionObserver --jsx React.createElement -f cjs,umd,es,modern --no-compress","build:utils":"tsc -p tsconfig.test.json","postbuild":"size-limit","dev":"yarn run storybook","lint":"eslint . --ext js,ts,tsx","release":"np --contents dist","version":"yarn build","pretty":"prettier '**/*.{js,ts,tsx,md,json,yml,html}' --write","storybook":"start-storybook -p 9000","storybook:build":"build-storybook --output-dir example","test":"vitest"},"release":{"branches":["master",{"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}":["prettier --write"],"src/**/*.{ts,tsx}":["eslint","vitest related --run"]},"size-limit":[{"path":"dist/react-intersection-observer.esm.js","name":"InView","import":"{ InView }","limit":"1.8 kB"},{"path":"dist/react-intersection-observer.esm.js","name":"useInView","import":"{ useInView }","limit":"1.3 kB"},{"path":"dist/react-intersection-observer.esm.js","name":"observe","import":"{ observe }","limit":"1 kB"}],"peerDependencies":{"react":"^15.0.0 || ^16.0.0 || ^17.0.0|| ^18.0.0"},"devDependencies":{"@babel/core":"^7.18.2","@babel/preset-env":"^7.18.2","@size-limit/preset-small-lib":"^7.0.8","@storybook/addon-actions":"6.5.5","@storybook/addon-controls":"6.5.5","@storybook/addon-docs":"6.5.5","@storybook/addon-postcss":"^2.0.0","@storybook/addon-viewport":"6.5.5","@storybook/addons":"6.5.5","@storybook/builder-vite":"^0.1.35","@storybook/react":"6.5.5","@storybook/theming":"6.5.5","@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^13.2.0","@types/jest":"^27.5.1","@types/react":"^18.0.9","@types/react-dom":"^18.0.5","@typescript-eslint/eslint-plugin":"^5.26.0","@typescript-eslint/parser":"^5.26.0","autoprefixer":"^10.4.7","eslint":"^8.16.0","eslint-plugin-import":"^2.26.0","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-react":"^7.30.0","eslint-plugin-react-hooks":"^4.5.0","framer-motion":"^6.3.4","intersection-observer":"^0.12.0","jsdom":"^19.0.0","lint-staged":"^12.4.2","microbundle":"^0.15.0","npm-run-all":"^4.1.5","postcss":"^8.4.14","prettier":"^2.6.2","prettier-plugin-pkg":"^0.13.2","prettier-plugin-tailwindcss":"^0.1.11","react":"^18.1.0","react-dom":"^18.1.0","simple-git-hooks":"^2.7.0","size-limit":"^7.0.8","tailwindcss":"^3.0.24","typescript":"^4.7.2","vite":"^2.9.9","vitest":"^0.12.9"},"gitHead":"57da6c3dbc1e6adcde0dbc799e97c0510de3a435","readmeFilename":"README.md","bugs":{"url":"https://github.com/thebuilder/react-intersection-observer/issues"},"homepage":"https://github.com/thebuilder/react-intersection-observer#readme","_id":"react-intersection-observer@9.3.4-beta.1","_nodeVersion":"14.19.3","_npmVersion":"6.14.17","dist":{"shasum":"f6c64ff2114ece209f1301b761be35096a33cb8a","size":31228,"noattachment":false,"key":"/react-intersection-observer/-/react-intersection-observer-9.3.4-beta.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-intersection-observer/download/react-intersection-observer-9.3.4-beta.1.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.3.4-beta.1_1655710997902_0.4445861547925496"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-20T07:58:18.281Z","publish_time":1655710998106,"_cnpm_publish_time":1655710998106,"dist-tags":{"beta":"9.5.0-beta.2","latest":"10.0.3"}}