{
  "name": "react-outside-click-handler",
  "version": "1.3.0",
  "description": "A React component for dealing with clicks outside its subtree",
  "main": "index.js",
  "scripts": {
    "prebuild": "npm run clean",
    "build": "npm run build:cjs && npm run build:esm",
    "build:cjs": "BABEL_ENV=cjs babel src/ -d build/",
    "build:esm": "BABEL_ENV=esm babel src/ -d esm/",
    "clean": "rimraf build esm",
    "lint": "eslint --ext .js,.jsx src test",
    "mocha": "mocha",
    "react": "enzyme-adapter-react-install 16",
    "pretest": "npm run --silent lint",
    "pretests-only": "npm run react",
    "tests-only": "npm run mocha --silent test",
    "test": "npm run tests-only",
    "tag": "git tag v$npm_package_version",
    "version:patch": "npm --no-git-tag-version version patch",
    "version:minor": "npm --no-git-tag-version version minor",
    "version:major": "npm --no-git-tag-version version major",
    "preversion": "npm run test && npm run check-changelog && npm run check-only-changelog-changed",
    "postversion": "git commit package.json CHANGELOG.md -m \"v$npm_package_version\" && npm run tag && git push && git push --tags && npm publish --registry=https://registry.npmjs.org/",
    "prepublish": "in-publish && safe-publish-latest && npm run build || not-in-publish",
    "check-changelog": "expr $(git status --porcelain 2>/dev/null| grep \"^\\s*M.*CHANGELOG.md\" | wc -l) >/dev/null || (echo 'Please edit CHANGELOG.md' && exit 1)",
    "check-only-changelog-changed": "(expr $(git status --porcelain 2>/dev/null| grep -v \"CHANGELOG.md\" | wc -l) >/dev/null && echo 'Only CHANGELOG.md may have uncommitted changes' && exit 1) || exit 0"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/airbnb/react-outside-click-handler.git"
  },
  "author": "Maja Wichrowska <maja.wichrowska@airbnb.com>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/airbnb/react-outside-click-handler/issues"
  },
  "homepage": "https://github.com/airbnb/react-outside-click-handler#readme",
  "devDependencies": {
    "airbnb-js-shims": "^2.2.0",
    "babel-cli": "^6.26.0",
    "babel-core": "^6.26.3",
    "babel-plugin-syntax-jsx": "^6.18.0",
    "babel-preset-airbnb": "^2.6.0",
    "babel-register": "^6.26.0",
    "chai": "^4.2.0",
    "enzyme": "^3.10.0",
    "enzyme-adapter-react-helper": "^1.3.6",
    "eslint": "^6.4.0",
    "eslint-config-airbnb": "^18.0.1",
    "eslint-plugin-import": "^2.18.2",
    "eslint-plugin-jsx-a11y": "^6.2.3",
    "eslint-plugin-react": "^7.14.3",
    "eslint-plugin-react-hooks": "^2.1.0",
    "eslint-plugin-react-with-styles": "^2.2.0",
    "in-publish": "^2.0.0",
    "mocha": "^3.5.3",
    "mocha-wrap": "^2.1.2",
    "react": "^0.14 || >=15",
    "react-dom": "^0.14 || >=15",
    "rimraf": "^2.7.1",
    "safe-publish-latest": "^1.1.3",
    "sinon": "^5.1.1",
    "sinon-sandbox": "^2.0.6"
  },
  "dependencies": {
    "airbnb-prop-types": "^2.15.0",
    "consolidated-events": "^1.1.1 || ^2.0.0",
    "document.contains": "^1.0.1",
    "object.values": "^1.1.0",
    "prop-types": "^15.7.2"
  },
  "peerDependencies": {
    "react": "^0.14 || >=15",
    "react-dom": "^0.14 || >=15"
  }
}
