next-restore-scroll
Version:
A fix for restoring scroll position with Next Router when the body element is not used as the main scrolling element.
38 lines (37 loc) • 966 B
JSON
{
"name": "next-restore-scroll",
"version": "1.2.1",
"description": "A fix for restoring scroll position with Next Router when the body element is not used as the main scrolling element.",
"homepage": "https://github.com/CTNicholas/next-restore-scroll#readme",
"repository": "github:CTNicholas/next-restore-scroll",
"bugs": {
"url": "https://github.com/CTNicholas/next-restore-scroll/issues"
},
"main": "dist/next-restore-scroll.cjs.js",
"module": "dist/next-restore-scroll.esm.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "tauque --dev",
"build": "tauque"
},
"author": "CTNicholas",
"license": "MIT",
"dependencies": {
"next": "^10.2.2",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"tauque": "^1.2.3"
},
"keywords": [
"next",
"nextjs",
"next.js",
"restore",
"scroll",
"position",
"restoration",
"fix"
]
}