UNPKG

vanilla-back-to-top-custom

Version:

Simple and tiny Back To Top button with no dependencies. Hides when on top, scrolls up smoothly when clicked. Works equally great with Vue, React, Angular and without frameworks on Jekyll, Hugo and Hexo

88 lines (87 loc) 1.95 kB
{ "name": "vanilla-back-to-top-custom", "version": "7.2.3", "description": "Simple and tiny Back To Top button with no dependencies. Hides when on top, scrolls up smoothly when clicked. Works equally great with Vue, React, Angular and without frameworks on Jekyll, Hugo and Hexo", "main": "dist/vanilla-back-to-top.umd.js", "repository": { "type": "git", "url": "https://github.com/Rianvy/vanilla-back-to-top-custom.git" }, "keywords": [ "back", "return", "go", "up", "top", "button", "link", "scroll", "pure", "zero dependency", "vanilla", "react", "angular", "angularjs", "vue", "configurable", "prerendered", "blog", "static", "website", "jekyll", "hugo", "hexo", "gitbook", "gatsby", "nuxt", "pelican", "metalsmith", "brunch", "middleman", "mkdocs", "harp", "expose", "assemble", "wintersmith", "cactus", "react-static", "docpad", "hubpress" ], "scripts": { "build": "node npm-scripts/build", "precommit": "npm run build && git add ./dist", "postversion": "node npm-scripts/update-docs.js && sh npm-scripts/fixup-docs.sh", "test": "echo \"Error: no test specified\" && exit 1" }, "browserslist": [ "explorer >=9", "explorermobile >=10", "edge >=12", "firefox >=2", "firefoxandroid >=2", "chrome >=4", "safari >=5.1", "opera >=11.5", "operamobile >=12", "chromeandroid >=4", "ios >=7.1", "ucandroid >=11.4", "android >=3", "samsung >=4", "blackberry >=7" ], "author": "Maxim Alexandrov", "license": "MIT", "dependencies": {}, "devDependencies": { "@babel/core": "^7.1.5", "@babel/preset-env": "^7.1.5", "autoprefixer": "^7.2.6", "husky": "^0.14.3", "postcss": "^6.0.23", "postcss-clean": "^1.1.0", "rimraf": "^2.6.2", "uglify-es": "^3.3.9" } }