@dsmlll/react-scroll
Version:
A React library for synchronizing scroll between a navigation component and content sections, with click-to-scroll functionality.
60 lines (59 loc) • 1.48 kB
JSON
{
"name": "@dsmlll/react-scroll",
"version": "0.1.2",
"private": false,
"description": "A React library for synchronizing scroll between a navigation component and content sections, with click-to-scroll functionality.",
"author": "dsmlll",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/LDJ-creat/react-scroll.git"
},
"keywords": [
"react",
"scroll",
"scroll-sync",
"navigation",
"react-component",
"hook"
],
"type": "module",
"main": "./dist/react-scroll.cjs.js",
"module": "./dist/react-scroll.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/react-scroll.js",
"require": "./dist/react-scroll.cjs.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist"
],
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview"
},
"peerDependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@eslint/js": "^9.13.0",
"@types/node": "^22.15.21",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react-swc": "^3.5.0",
"eslint": "^9.13.0",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.13",
"globals": "^15.11.0",
"typescript": "~5.6.2",
"typescript-eslint": "^8.10.0",
"vite": "^5.4.9",
"vite-plugin-dts": "^4.5.4"
}
}