UNPKG

react-atom-trigger

Version:

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

61 lines (60 loc) 1.71 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.0.16", "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": "rimraf lib && rollup -c rollup.config.js" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "devDependencies": { "@rollup/plugin-commonjs": "^28.0.3", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-terser": "0.4.4", "@types/node": "^20.6.3", "@types/react": "^19.0.12", "@typescript-eslint/eslint-plugin": "^8.20.0", "@typescript-eslint/parser": "^8.20.0", "eslint": "^9.18.0", "eslint-config-prettier": "^10.0.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-react": "^7.27.1", "eslint-plugin-react-hooks": "^5.1.0", "eslint-plugin-sort-imports-es6-autofix": "^0.6.0", "prettier": "^3.4.2", "rimraf": "^6.0.1", "rollup": "^4.37.0", "rollup-plugin-node-externals": "^8.0.0", "rollup-plugin-typescript2": "^0.36.0", "tslib": "^2.8.0", "typescript": "^5.6.3" }, "keywords": [ "react", "scroll", "on-scroll", "scroll-into-view", "waypoint-alternative" ], "files": [ "lib" ], "volta": { "node": "20.18.1" } }