UNPKG

element-in-view-rgermain

Version:

ElementInView is a library that allows to know if an element is displayed in the viewport of the client, it's compatible with overflow parents and offset!

53 lines (52 loc) 1.5 kB
{ "name": "element-in-view-rgermain", "version": "1.4.1", "description": "ElementInView is a library that allows to know if an element is displayed in the viewport of the client, it's compatible with overflow parents and offset!", "type": "module", "main": "index.js", "module": "src/index.js", "exports": { "require": "./src/index.js", "import": "./dist/index.js" }, "files": [ "src/index.js", "dist/index.js" ], "scripts": { "build": "cross-env NODE_ENV=production npx rollup -c rollup.config.js", "dev": "cross-env NODE_ENV=developement npx rollup -c rollup.config.js", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+ssh://git@github.com:remigermain/element-in-view.git" }, "author": "rgermain <contact@germainremi.fr>", "license": "MIT", "bugs": { "url": "https://github.com/remigermain/element-in-view/issues" }, "homepage": "https://github.com/remigermain/element-in-view#readme", "dependencies": {}, "keywords": [ "elementinview", "viewport", "inviewport", "elementinviewport", "elementvisible" ], "peerDependencies": { "rollup": "^2.0.0" }, "devDependencies": { "@babel/core": "^7.11.4", "@babel/preset-env": "^7.11.0", "@rollup/plugin-babel": "^5.2.0", "core-js": "3", "cross-env": "^7.0.2", "rollup": "^2.26.8", "rollup-plugin-terser": "^7.0.1" }, "browserslist": "> 0.25%, not dead" }