@kimhongyeon/use-lock-body-scroll
Version:
A React hook to lock body scroll
51 lines (50 loc) • 1.2 kB
JSON
{
"name": "@kimhongyeon/use-lock-body-scroll",
"version": "1.0.2",
"private": false,
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md"
],
"scripts": {
"build": "rollup -c",
"lint": "eslint --fix ./src"
},
"keywords": [
"react",
"hook",
"body-scroll",
"lock",
"lock-scroll"
],
"author": "kimhongyeon",
"license": "MIT",
"description": "A React hook to lock body scroll",
"repository": {
"type": "git",
"url": "https://github.com/kimhongyeon/use-lock-body-scroll.git"
},
"bugs": {
"url": "https://github.com/kimhongyeon/use-lock-body-scroll/issues"
},
"homepage": "https://github.com/kimhongyeon/use-lock-body-scroll#readme",
"peerDependencies": {
"react": ">=17.0.0"
},
"devDependencies": {
"@eslint/js": "^9.18.0",
"@types/react": "^19.0.5",
"eslint": "^9.18.0",
"eslint-plugin-react": "^7.37.3",
"globals": "^15.14.0",
"prettier": "^3.4.2",
"react": "^19.0.0",
"rollup": "^4.30.1",
"rollup-plugin-typescript2": "^0.36.0",
"typescript": "^5.7.3",
"typescript-eslint": "^8.19.1"
}
}