UNPKG

react-component-lazy-loader

Version:

A package which lazily loads it's children components based on viewport visibility of the component. Useful in lazyloading images or any other custom component.

60 lines (59 loc) 1.65 kB
{ "name": "react-component-lazy-loader", "version": "1.1.3", "description": "A package which lazily loads it's children components based on viewport visibility of the component. Useful in lazyloading images or any other custom component.", "main": "./lib/index.js", "repository": { "type": "git", "url": "https://github.com/shreysudan/ReactComponentLazyLoader" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "babel src/ -d lib/", "prepublish": "npm run build", "lint": "eslint --ext .jsx,.js --ignore-path .eslintignore" }, "keywords": [ "react", "reactjs", "lazy", "load", "lazyLoad", "reactjs", "component", "react-lazy-load", "render", "react-lazyloading", "react-component", "intersection-observer" ], "author": "Shrey Sudan", "license": "ISC", "peerDependencies": { "react": "^16.x.x", "react-dom": "^16.x.x" }, "devDependencies": { "babel-cli": "^6.26.0", "babel-core": "^7.0.0-bridge.0", "babel-eslint": "^10.0.1", "babel-preset-es2015": "^6.24.1", "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "eslint": "^5.13.0", "eslint-config-airbnb": "^17.1.0", "eslint-config-prettier": "^4.1.0", "eslint-plugin-import": "^2.17.1", "eslint-plugin-jsx-a11y": "^6.2.1", "eslint-plugin-prettier": "^3.0.1", "eslint-plugin-react": "^7.12.4", "prettier": "^1.16.4", "react": "^16.8.6", "react-dom": "^16.8.6" }, "dependencies": { "lodash.get": "^4.4.2", "lodash.throttle": "^4.1.1", "prop-types": "^15.7.2" } }