UNPKG

@huse/scroll-lock

Version:

--- title: README nav: title: Hooks path: /hook group: title: Scroll Lock path: /scroll-lock order: 1 ---

48 lines (47 loc) 1.18 kB
{ "name": "@huse/scroll-lock", "version": "1.1.1", "keywords": [ "react", "hooks" ], "homepage": "https://github.com/ecomfe/react-hooks/tree/master/packages/scroll-lock", "bugs": { "url": "https://github.com/ecomfe/react-hooks/issues" }, "license": "MIT", "main": "cjs/index.js", "module": "es/index.js", "types": "es/index.d.ts", "files": [ "cjs", "es", "src" ], "scripts": { "build": "rm -rf es cjs && tsc & tsc --module ESNext --outDir ./es", "build-check": "tsc", "lint": "skr lint --strict src demo", "test": "skr test --coverage --target=react" }, "devDependencies": { "@reskript/cli": "^1.10.1", "@reskript/cli-lint": "^1.10.1", "@reskript/cli-test": "^1.10.1", "@reskript/config-lint": "^1.10.1", "@testing-library/react-hooks": "^7.0.1", "@types/react": "^17.0.14", "antd": "^4.16.8", "enzyme": "^3.11.0", "react": "^17.0.0", "typescript": "^4.3.5" }, "peerDependencies": { "react": ">=16.8.0" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.com" }, "gitHead": "85ae196cb695618f1b111d7d41bf9719391eea1a" }