@ranceheart/sticky-elevator
Version:
A lightweight scroll‑spy elevator nav for React
81 lines (80 loc) • 2.02 kB
JSON
{
"name": "@ranceheart/sticky-elevator",
"version": "0.1.9",
"homepage": "https://ranceheart.github.io/sticky-elevator",
"description": "A lightweight scroll‑spy elevator nav for React",
"readmeFilename": "README.md",
"readme": "README.md",
"main": "dist/elevator.cjs.js",
"module": "dist/elevator.es.js",
"unpkg": "dist/elevator.umd.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "https://github.com/ranceheart/sticky-elevator.git"
},
"scripts": {
"dev": "vite",
"build": "vite build --mode lib",
"build:demo": "vite build --mode demo",
"gh:deploy": "yarn build:demo && gh-pages -d gh-pages",
"cy:open": "cypress open --browser chrome",
"cy:run": "cypress run --browser chrome"
},
"dependencies": {
"clsx": "^2.1.1",
"resize-observer-polyfill": "^1.5.1",
"smoothscroll-polyfill": "^0.4.4"
},
"devDependencies": {
"@types/node": "^22.15.30",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/smoothscroll-polyfill": "^0.3.4",
"@vitejs/plugin-react": "^4.5.1",
"cypress": "^14.4.1",
"gh-pages": "^6.3.0",
"leva": "^0.10.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"sass": "^1.77.0",
"typescript": "^5.3.3",
"vite": "^5.2.0",
"vite-plugin-css-injected-by-js": "^3.5.2",
"vite-plugin-dts": "^3.8.0"
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18"
},
"publishConfig": {
"access": "public"
},
"license": "MIT",
"keywords": [
"react",
"react-component",
"scrollspy",
"scroll-spy",
"sticky",
"react nav",
"react elevator",
"fixed nav",
"elevator navigation",
"anchor navigation",
"scroll navigation",
"section highlight",
"navigation tabs",
"scroll-to-anchor",
"react scroll spy",
"react sticky nav",
"scroll spy component",
"scrolling tabs",
"floating nav",
"scroll anchor",
"scroll indicator"
]
}