UNPKG

react-lazy-load

Version:

Simple lazy loading component built with react

68 lines (67 loc) 1.87 kB
{ "name": "react-lazy-load", "version": "4.0.1", "description": "Simple lazy loading component built with react", "type": "module", "main": "./dist/LazyLoad.umd.cjs", "module": "./dist/LazyLoad.js", "types": "./dist/index.d.ts", "exports": { ".": { "import": "./dist/LazyLoad.js", "require": "./dist/LazyLoad.umd.cjs" } }, "scripts": { "build": "npx vite build", "clean": "rimraf lib dist", "lint": "eslint src/LazyLoad.tsx", "prepublish": "npm run clean && npm run build", "test": "jest" }, "repository": { "type": "git", "url": "https://github.com/loktar00/react-lazy-load.git" }, "files": [ "dist", "lib" ], "keywords": [ "react", "reactjs", "react-component", "load", "lazy" ], "author": "Jason Brown <loktar00@gmail.com> (https://twitter.com/loktar00)", "contributors": [ "Sergey Laptev <iamsergeylaptev@gmail.com> (https://twitter.com/iamsergeylaptev)" ], "license": "MIT", "devDependencies": { "@types/lodash": "^4.14.184", "@types/react": "^18.0.17", "@types/react-dom": "^18.0.6", "@typescript-eslint/eslint-plugin": "^5.34.0", "@typescript-eslint/parser": "^5.34.0", "@vitejs/plugin-react": "^2.0.1", "eslint": "^8.22.0", "eslint-config-airbnb": "^19.0.4", "eslint-import-resolver-typescript": "^3.5.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jsx-a11y": "^6.6.1", "eslint-plugin-react": "^7.30.1", "eslint-plugin-react-hooks": "^4.6.0", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^3.0.2", "typescript": "^4.7.4", "vite": "^3.0.9", "vite-plugin-dts": "^1.4.1" }, "peerDependencies": { "react": "^17.0.0 || ^18.0.0", "react-dom": "^17.0.0 || ^18.0.0" } }