UNPKG

@thisnamespace/scrollobserver

Version:

Turn any container into an infinite scroll container or fire a function when reaching a particular part of a web page.

44 lines (43 loc) 1.24 kB
{ "name": "@thisnamespace/scrollobserver", "version": "0.0.9", "description": "Turn any container into an infinite scroll container or fire a function when reaching a particular part of a web page.", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "prepublish": "rm -rf ./dist && npm run build", "start": "webpack --watch --mode=production", "build": "webpack --mode=production" }, "repository": { "type": "git", "url": "git+https://github.com/thisnamespace/ScrollObserver.git" }, "keywords": [ "intersection-observer", "observer", "infinitescroll", "infinnite-scroll", "react" ], "author": "thisnamespace", "license": "MIT", "bugs": { "url": "https://github.com/thisnamespace/ScrollObserver/issues" }, "homepage": "https://github.com/thisnamespace/ScrollObserver#readme", "peerDependencies": { "react": "^16.8.6" }, "devDependencies": { "babel-core": "^6.21.0", "babel-loader": "^7.1.4", "babel-preset-env": "^1.6.1", "babel-preset-react": "^6.16.0", "babel-preset-stage-0": "^6.24.1", "path": "^0.12.7", "react": "^16.8.6", "webpack": "^4.36.1", "webpack-cli": "^3.3.6" } }