UNPKG

rc-scroll-into-view

Version:

Solving the issue of scrollIntoView failing during asynchronous scrolling in JavaScript.

66 lines (65 loc) 1.76 kB
{ "name": "rc-scroll-into-view", "version": "1.0.15", "main": "dist/index.cjs.js", "module": "dist/index.js", "type": "module", "scripts": { "test": "jest", "build": "rollup -c", "prepublishOnly": "npm run build", "publish": "npm publish" }, "author": "972716557@qq.com", "repository": { "type": "git", "url": "https://github.com/972716557/rc-scroll-into-view.git" }, "peerDependencies": { "ahooks": ">=3", "react": ">=17", "react-dom": ">=17" }, "keywords": [ "react", "scroll-into-view-if-needed", "scroll", "scroll-into-view", "rc-scroll-into-view", "react-scroll-into-view" ], "files": [ "dist" ], "license": "ISC", "description": "Solving the issue of scrollIntoView failing during asynchronous scrolling in JavaScript.", "devDependencies": { "@babel/cli": "^7.25.9", "@babel/core": "^7.26.0", "@babel/preset-env": "^7.26.0", "@babel/preset-react": "^7.27.1", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^28.0.3", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-typescript": "^12.1.2", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.3.0", "@testing-library/user-event": "^14.6.1", "@types/jest": "^29.5.14", "ahooks": "^3.8.1", "babel-cli": "^6.26.0", "babel-loader": "^9.2.1", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "react": "^18.3.1", "react-dom": "^18.3.1", "rollup": "^4.41.1", "rollup-plugin-delete": "^3.0.1", "rollup-plugin-terser": "^7.0.2", "terser": "^5.36.0", "terser-webpack-plugin": "^5.3.10", "ts-jest": "^29.3.4", "tslib": "^2.8.1", "typescript": "^5.8.3" } }