UNPKG

rrr-lazy

Version:

Lazy load component with react && react-router.

78 lines (77 loc) 2.11 kB
{ "name": "rrr-lazy", "version": "4.1.0", "description": "Lazy load component with react && react-router.", "source": "src/index.js", "module": "dist/rrr-lazy.esm.js", "main": "dist/rrr-lazy.js", "umd:main": "dist/rrr-lazy.umd.js", "scripts": { "build": "node build.js", "clean": "rimraf dist", "lint": "eslint src test --ext .js --ext .md", "prepare": "npm-run-all -s clean lint test build", "test": "npm run lint" }, "repository": { "type": "git", "url": "https://github.com/kouhin/rrr-lazy.git" }, "files": [ "src", "dist" ], "keywords": [ "react", "react-router", "load", "lazy", "lazyload", "react-router-hook", "reactjs", "intersection", "observer" ], "author": "Bin Hou <houbin217jz@gmail.com> (https://twitter.com/houbin217jz)", "license": "MIT", "devDependencies": { "@babel/cli": "^7.1.5", "@babel/core": "^7.1.6", "@babel/node": "^7.0.0", "@babel/plugin-proposal-object-rest-spread": "^7.0.0", "@babel/polyfill": "^7.0.0", "@babel/preset-env": "^7.1.6", "@babel/preset-react": "^7.0.0", "@babel/register": "^7.0.0", "babel-eslint": "^10.0.1", "eslint": "^5.9.0", "eslint-config-airbnb": "^17.1.0", "eslint-config-prettier": "^3.3.0", "eslint-plugin-import": "^2.14.0", "eslint-plugin-jsx-a11y": "^6.1.2", "eslint-plugin-markdown": "^1.0.0-rc.0", "eslint-plugin-react": "^7.11.1", "jest": "^23.6.0", "npm-run-all": "^4.1.5", "react": "^16.6.3", "react-dom": "^16.6.3", "rimraf": "^2.6.2", "rollup": "^0.67.3", "rollup-plugin-auto-external": "^2.0.0", "rollup-plugin-babel": "^4.0.3", "rollup-plugin-commonjs": "^9.2.0", "rollup-plugin-node-resolve": "^3.4.0", "rollup-plugin-replace": "^2.1.0", "rollup-plugin-uglify": "^6.0.0" }, "dependencies": { "create-react-context": "^0.2.3", "hoist-non-react-statics": "^3.2.0", "prop-types": "^15.6.2", "react-fast-compare": "^2.0.4" }, "peerDependencies": { "react": ">=16.2.0", "react-dom": ">=16.2.0" } }