react-scroll-load
Version:
A React Component to lazy load child Component relative to scrolled parent just as a wrapper
70 lines (69 loc) • 1.7 kB
JSON
{
"name": "react-scroll-load",
"version": "1.1.0",
"description": "A React Component to lazy load child Component relative to scrolled parent just as a wrapper",
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"test": "jest"
},
"keywords": [
"react",
"component",
"scroll-load",
"lazy-load"
],
"files": [
"dist"
],
"homepage": "https://github.com/xiaomoer/scroll-load",
"bugs": "https://github.com/xiaomoer/scroll-load/issues",
"repository": {
"type": "git",
"url": "https://github.com/xiaomoer/scroll-load"
},
"author": {
"name": "limoer",
"email": "myt19960503@outlook.com",
"url": "https://limoer.cc"
},
"license": "MIT",
"dependencies": {
"lodash.throttle": "^4.1.1"
},
"peerDependencies": {
"react": "^16.12.0",
"react-dom": "^16.12.0"
},
"devDependencies": {
"@babel/core": "^7.7.7",
"@babel/preset-env": "^7.7.7",
"@babel/preset-react": "^7.7.4",
"@types/lodash": "^4.14.149",
"@types/lodash.throttle": "^4.1.6",
"@types/react": "^16.9.17",
"@types/react-dom": "^16.9.4",
"babel-jest": "^24.9.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"jest": "^24.9.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"typescript": "^3.9.5"
},
"jest": {
"collectCoverageFrom": [
"<rootDir>/dist/*.js",
"<rootDir>/dist/*.jsx"
],
"testMatch": [
"<rootDir>/tests/*.js"
],
"setupFiles": [
"<rootDir>/jest.setup.js"
],
"transform": {
"^.+\\.jsx?$": "<rootDir>/node_modules/babel-jest"
}
}
}