svelte-scrolling
Version:
Scroll to given elements with smooth animation
65 lines (64 loc) • 1.51 kB
JSON
{
"name": "svelte-scrolling",
"version": "1.5.1",
"description": "Scroll to given elements with smooth animation",
"author": "Valmisson Grizorte",
"license": "MIT",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsc --build",
"lint": "eslint .",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1 && npm i && git add .",
"prepublishOnly": "npm run build"
},
"peerDependencies": {
"svelte": "^4 || ^5"
},
"devDependencies": {
"@tsconfig/svelte": "^5.0.4",
"conventional-changelog-cli": "^5.0.0",
"eslint": "^9.16.0",
"eslint-config-std": "^1.0.0",
"eslint-plugin-svelte": "^2.46.1",
"globals": "^15.13.0",
"lint-staged": "^15.2.10",
"svelte": "^5.5.2",
"typescript": "^5.7.2",
"typescript-eslint": "^8.17.0",
"yorkie": "^2.0.0"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"src/**/*.{js,ts,svelte}": [
"eslint . --fix"
]
},
"repository": {
"type": "git",
"url": "https://github.com/valmisson/svelte-scrolling.git"
},
"bugs": {
"url": "https://github.com/valmisson/svelte-scrolling/issues"
},
"homepage": "https://github.com/valmisson/svelte-scrolling#readme",
"keywords": [
"svelte",
"sveltekit",
"scroll",
"scrolling",
"scrollto",
"animation",
"smooth",
"smoothscroll",
"anchor",
"navigation",
"lightweight"
]
}