UNPKG

active-menu-link

Version:

A pure JavaScript smooth scroll & scrollspy library which highlights the active menu item based on the scroll position.

39 lines (38 loc) 1.12 kB
{ "name": "active-menu-link", "version": "1.1.8", "description": "A pure JavaScript smooth scroll & scrollspy library which highlights the active menu item based on the scroll position.", "main": "./dist/active-menu-link.js", "types": "dist/index.d.ts", "scripts": { "dev": "webpack --mode development --watch", "prepublish": "npm run build", "build": "webpack --mode production -p --progress", "example": "webpack --mode production -p --progress --config webpack.example.config.js" }, "repository": { "type": "git", "url": "git+https://git@github.com/Kosalexei/active-menu-link.git" }, "keywords": [ "active", "menu", "link", "navigation" ], "author": "Alexei Kostyuchenko <kos_ae@outlook.com>", "license": "ISC", "bugs": { "url": "https://github.com/Kosalexei/active-menu-link/issues" }, "homepage": "https://github.com/Kosalexei/active-menu-link#readme", "devDependencies": { "ts-loader": "^7.0.4", "typescript": "^3.9.3", "webpack": "^4.43.0", "webpack-cli": "^3.3.11" }, "dependencies": { "scroll-to": "0.0.2" } }