UNPKG

react-click-outside

Version:

A component wrapper that provides click outside detection.

51 lines (50 loc) 1.4 kB
{ "name": "react-click-outside", "version": "2.3.1", "description": "A component wrapper that provides click outside detection.", "main": "dist/index.js", "scripts": { "build": "npm test && babel -d dist index.js", "demo": "budo demo/app.js -- -t babelify", "lint": "eslint .", "test": "mocha --compilers js:babel-register --require test-setup", "test:ci": "npm run lint && npm run test" }, "repository": { "type": "git", "url": "https://github.com/kentor/react-click-outside" }, "keywords": [ "click outside", "higher order component", "onclickoutside", "react" ], "author": "Kenneth Chung <ken70r@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/kentor/react-click-outside/issues" }, "homepage": "https://github.com/kentor/react-click-outside", "devDependencies": { "babel-cli": "6.18.0", "babel-preset-es2015": "6.18.0", "babel-preset-react": "6.16.0", "babel-register": "6.18.0", "babelify": "7.3.0", "browserify": "13.1.1", "budo": "9.3.0", "create-react-class": "15.5.2", "eslint": "3.12.2", "eslint-config-kentor": "3.12.2", "eslint-plugin-react": "6.8.0", "expect": "1.20.2", "jsdom": "9.9.1", "mocha": "3.2.0", "react": "15.5.4", "react-dom": "15.5.4" }, "dependencies": { "hoist-non-react-statics": "^1.2.0" } }