UNPKG

react-scroll-context

Version:

A component to disable scroll on document body when its children are scrolled.

45 lines (44 loc) 1.25 kB
{ "name": "react-scroll-context", "version": "1.1.0", "description": "A component to disable scroll on document body when its children are scrolled.", "main": "lib/index.js", "scripts": { "test": "mocha --compilers js:babel-core/register --require test/helpers/browsers.js --require test/helpers/enzyme.js test/*.spec.js", "build": "yarn test && babel src -d lib" }, "repository": { "type": "git", "url": "git+https://github.com/varunpal/react-scroll-context.git" }, "keywords": [ "react", "scroll", "scroll-context", "child-scroll", "body", "disable scroll", "dropdown scroll" ], "author": "Varun Pal", "license": "MIT", "bugs": { "url": "https://github.com/varunpal/react-scroll-context/issues" }, "homepage": "https://github.com/varunpal/react-scroll-context#readme", "devDependencies": { "babel-cli": "^6.24.1", "babel-preset-es2015": "^6.24.1", "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "enzyme": "^3.3.0", "enzyme-adapter-react-16": "^1.1.1", "jsdom": "^11.1.0", "mocha": "^3.4.2", "react": "^16.2.0", "react-dom": "^16.2.0" }, "peerDependencies": { "react": "^15.0.0-0 || ^16.0.0-0" } }