{
  "name": "react-detect-click-outside",
  "version": "1.1.7",
  "description": "Detects clicks outside React components, and also handles keypresses.",
  "main": "dist/index.js",
  "repository": {
    "type": "git",
    "url": "https://github.com/zhaluza/react-detect-click-outside.git"
  },
  "scripts": {
    "build": "rollup -c",
    "start": "rollup -c -w",
    "test": "jest --verbose",
    "lint": "prettier --check .",
    "format": "prettier --write .",
    "_postinstall": "husky install",
    "prepare": "pinst --disable",
    "postpublish": "pinst --enable",
    "publish": "yarn build && npm publish"
  },
  "keywords": [
    "react",
    "click",
    "detect",
    "outside",
    "component"
  ],
  "author": "Zac Haluza",
  "license": "ISC",
  "devDependencies": {
    "@testing-library/jest-dom": "^5.11.5",
    "@testing-library/react": "^11.1.1",
    "@types/jest": "^26.0.15",
    "@types/react": "^16.9.56",
    "@types/react-dom": "^16.9.9",
    "babel-core": "^6.26.3",
    "babel-runtime": "^6.26.0",
    "husky": "^5.0.0-beta.0",
    "jest": "^26.6.3",
    "pinst": "^2.0.0",
    "rollup": "^2.33.1",
    "rollup-plugin-typescript2": "^0.29.0",
    "ts-jest": "^26.4.3",
    "typescript": "^4.0.5"
  },
  "peerDependencies": {
    "react": "^16.8.0 || ^17 || ^18",
    "react-dom": "^16.8.0 || ^17 || ^18"
  },
  "files": [
    "dist"
  ],
  "jest": {
    "transform": {
      ".(ts|tsx)": "ts-jest"
    },
    "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
    "moduleFileExtensions": [
      "ts",
      "tsx",
      "js"
    ]
  }
}
