UNPKG

scroll-animation

Version:

Animate elements based on the scroll position.

45 lines (44 loc) 1.14 kB
{ "name": "scroll-animation", "description": "Animate elements based on the scroll position.", "version": "0.2.1", "main": "./dist/index.js", "module": "./index.js", "files": [ "index.js", "dist" ], "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": ">=6" }, "dependencies": { "get-scrollmax-y": "^1.0.0", "global": "^4.3.2", "raf": "^3.3.2" }, "devDependencies": { "babel-cli": "^6.24.1", "babel-preset-es2015": "^6.24.1", "browserify": "^14.4.0", "uglify-es": "^3.0.27" }, "scripts": { "build": "babel index.js --presets es2015 -d dist", "docs:transpile": "babel docs/demo.js --presets es2015 -o docs/demo.es5.js", "docs:bundle": "browserify docs/demo.es5.js | uglifyjs -mc >docs/bundle.js", "docs": "npm run docs:transpile && npm run docs:bundle", "prepublishOnly": "npm run build && npm run docs" } }