UNPKG

react-atom-trigger

Version:

React component to execute code when you scroll to an element. Simple react-waypoint alternative in typescript.

48 lines (47 loc) 1.17 kB
{ "name": "react-atom-trigger", "type": "module", "description": "React component to execute code when you scroll to an element. Simple react-waypoint alternative in typescript.", "main": "lib/index.js", "module": "lib/index.es.js", "typings": "lib/index.d.ts", "version": "1.1.0", "license": "MIT", "author": "innrVoice <innrvoice@icloud.com>", "repository": { "type": "git", "url": "git+https://github.com/innrvoice/react-atom-trigger.git" }, "bugs": { "url": "https://github.com/innrvoice/react-atom-trigger/issues" }, "scripts": { "build": "tsdown", "lint": "oxlint . --ignore-pattern node_modules --ignore-pattern lib" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "devDependencies": { "@types/node": "^20.6.3", "@types/react": "^19.0.12", "oxlint": "^1.50.0", "prettier": "^3.4.2", "tsdown": "^0.21.0-beta.2", "tslib": "^2.8.0", "typescript": "^5.6.3" }, "keywords": [ "react", "scroll", "on-scroll", "scroll-into-view", "waypoint-alternative" ], "files": [ "lib" ], "engines": { "node": ">=20.19.0" } }