@asyarb/use-intersection-observer
Version:
An easy to use React hook wrapper around the IntersectionObserver API.
64 lines (63 loc) • 1.51 kB
JSON
{
"name": "@asyarb/use-intersection-observer",
"version": "2.0.2",
"description": "An easy to use React hook wrapper around the IntersectionObserver API.",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test --env=jsdom",
"lint": "tsdx lint",
"release": "standard-version"
},
"homepage": "https://github.com/asyarb/use-intersection-observer",
"repository": {
"type": "git",
"url": "https://github.com/asyarb/use-intersection-observer.git"
},
"keywords": [
"react",
"hooks",
"intersection",
"observer",
"web",
"polyfill"
],
"author": "Anthony Yarbrough",
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@testing-library/jest-dom": "^4.1.0",
"@testing-library/react": "^9.1.4",
"@types/jest": "^24.0.18",
"@types/react": "^16.9.2",
"delay": "^4.3.0",
"husky": "^3.0.5",
"intersection-observer": "^0.7.0",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"standard-version": "^7.0.0",
"tsdx": "^0.9.1",
"tslib": "^1.10.0",
"typescript": "^3.6.2"
},
"peerDependencies": {
"react": ">=16.8"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"dependencies": {}
}