UNPKG

react-lazy-load-image-component

Version:

React Component to lazy load images using a HOC to track window scroll position.

76 lines (75 loc) 1.92 kB
{ "name": "react-lazy-load-image-component", "version": "1.6.3", "description": "React Component to lazy load images using a HOC to track window scroll position.", "main": "build/index.js", "peerDependencies": { "react": "^15.x.x || ^16.x.x || ^17.x.x || ^18.x.x || ^19.x.x" }, "dependencies": { "lodash.debounce": "^4.0.8", "lodash.throttle": "^4.1.1" }, "devDependencies": { "@babel/core": "^7.15.0", "@babel/eslint-parser": "^7.15.0", "@babel/preset-env": "^7.15.0", "@babel/preset-react": "^7.14.5", "@babel/preset-typescript": "^7.15.0", "babel-jest": "^27.0.6", "babel-loader": "^8.2.2", "css-loader": "^6.2.0", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.6", "eslint": "^7.32.0", "eslint-plugin-babel": "^5.3.1", "eslint-plugin-react": "^7.24.0", "eslint-webpack-plugin": "^3.0.1", "husky": "^7.0.1", "jest": "^27.0.6", "path": "^0.12.7", "prettier": "^2.3.2", "react": "^16.2.0", "style-loader": "^3.2.1", "webpack": "^5.50.0", "webpack-cli": "^4.7.2" }, "scripts": { "test": "jest", "start": "webpack --watch", "build": "webpack", "prettier": "prettier --write \"**/*.{js,jsx,json}\"", "lint": "eslint src --ext=js,jsx" }, "jest": { "verbose": true, "testURL": "http://localhost/", "testEnvironment": "jsdom" }, "repository": { "type": "git", "url": "git+https://github.com/Aljullu/react-lazy-load-image-component.git" }, "keywords": [ "react", "react-component", "lazyload", "lazyloading", "lazy-loading", "lazyload-images" ], "author": { "name": "Albert Juhé Lluveras", "email": "contact@albertjuhe.com" }, "license": "MIT", "bugs": { "url": "https://github.com/Aljullu/react-lazy-load-image-component/issues" }, "homepage": "https://github.com/Aljullu/react-lazy-load-image-component#readme", "husky": { "hooks": { "pre-commit": "npm run prettier && npm run lint" } } }