scroll-animation
Version:
Animate elements based on the scroll position.
39 lines (38 loc) • 863 B
JSON
{
"name": "scroll-animation",
"description": "Animate elements based on the scroll position.",
"version": "1.0.0",
"main": "./index.js",
"module": "./index.js",
"files": [
"index.js",
"docs"
],
"keywords": [
"scroll",
"parallax",
"animate",
"animation",
"translate3d"
],
"author": "Jannis R <mail@jannisr.de>",
"homepage": "https://github.com/derhuerst/scroll-animation",
"repository": "derhuerst/scroll-animation",
"bugs": "https://github.com/derhuerst/scroll-animation/issues",
"license": "ISC",
"engines": {
"node": ">=22"
},
"dependencies": {
"get-scrollmax-y": "^1.0.0",
"global": "^4.3.2",
"raf": "^3.3.2"
},
"devDependencies": {
"esbuild": "^0.25.11"
},
"scripts": {
"docs": "esbuild --bundle --target=ios17 --minify --outfile=docs/bundle.js --sourcemap docs/demo.js",
"prepublishOnly": "npm run docs"
}
}