{
  "_args": [
    [
      "react-cool-onclickoutside@1.4.7",
      "C:\\xampp\\htdocs\\rent_now"
    ]
  ],
  "_from": "react-cool-onclickoutside@1.4.7",
  "_id": "react-cool-onclickoutside@1.4.7",
  "_inBundle": false,
  "_integrity": "sha512-zRDj/dx/1rU1kTl9vEjLaMDP1bfduTLxXhtSShd5yGLELt6evVmx2Try8b5mzATPV4Y6rjMiOR5zLNFLFbL10Q==",
  "_location": "/react-cool-onclickoutside",
  "_phantomChildren": {},
  "_requested": {
    "type": "version",
    "registry": true,
    "raw": "react-cool-onclickoutside@1.4.7",
    "name": "react-cool-onclickoutside",
    "escapedName": "react-cool-onclickoutside",
    "rawSpec": "1.4.7",
    "saveSpec": null,
    "fetchSpec": "1.4.7"
  },
  "_requiredBy": [
    "/"
  ],
  "_resolved": "https://registry.npmjs.org/react-cool-onclickoutside/-/react-cool-onclickoutside-1.4.7.tgz",
  "_spec": "1.4.7",
  "_where": "C:\\xampp\\htdocs\\rent_now",
  "author": {
    "name": "Welly Shen",
    "email": "hivoid19@gmail.com",
    "url": "https://github.com/wellyshen"
  },
  "babel": {
    "presets": [
      "@babel/env",
      "@babel/typescript",
      "@babel/react"
    ],
    "plugins": [
      "@babel/plugin-proposal-object-rest-spread"
    ],
    "env": {
      "development": {
        "presets": [
          "@emotion/babel-preset-css-prop"
        ],
        "plugins": [
          "emotion"
        ]
      }
    }
  },
  "bugs": {
    "url": "https://github.com/wellyshen/react-cool-onclickoutside/issues"
  },
  "description": "React hook to listen for clicks outside of the component(s).",
  "devDependencies": {
    "@babel/core": "^7.9.0",
    "@babel/plugin-proposal-object-rest-spread": "^7.9.0",
    "@babel/preset-env": "^7.9.0",
    "@babel/preset-react": "^7.9.1",
    "@babel/preset-typescript": "^7.9.0",
    "@emotion/babel-preset-css-prop": "^10.0.27",
    "@emotion/core": "^10.0.28",
    "@rollup/plugin-html": "^0.2.0",
    "@rollup/plugin-replace": "^2.3.1",
    "@rollup/plugin-url": "^4.0.2",
    "@testing-library/react": "^10.0.1",
    "@testing-library/react-hooks": "^3.2.1",
    "@types/jest": "^25.1.4",
    "@types/react": "^16.9.25",
    "@types/react-dom": "^16.9.5",
    "@types/vfile-message": "^2.0.0",
    "babel-plugin-emotion": "^10.0.29",
    "coveralls": "^3.0.11",
    "eslint": "^6.8.0",
    "eslint-config-welly": "^0.5.6",
    "husky": "^4.2.3",
    "jest": "^25.1.0",
    "lint-staged": "^10.0.8",
    "normalize.css": "^8.0.1",
    "npm-run-all": "^4.1.5",
    "prettier": "^2.0.1",
    "react": "^16.13.1",
    "react-dom": "^16.13.1",
    "react-test-renderer": "^16.13.1",
    "rimraf": "^3.0.2",
    "rollup": "^2.1.0",
    "rollup-plugin-babel": "^4.4.0",
    "rollup-plugin-commonjs": "^10.1.0",
    "rollup-plugin-copy": "^3.3.0",
    "rollup-plugin-livereload": "^1.1.0",
    "rollup-plugin-node-resolve": "^5.2.0",
    "rollup-plugin-postcss": "^3.1.0",
    "rollup-plugin-serve": "^1.0.1",
    "rollup-plugin-size-snapshot": "^0.11.0",
    "rollup-plugin-terser": "^5.3.0",
    "stylelint": "^13.2.1",
    "stylelint-config-prettier": "^8.0.1",
    "stylelint-config-standard": "^20.0.0",
    "stylelint-prettier": "^1.1.2",
    "ts-jest": "^25.2.1",
    "typescript": "^3.8.3"
  },
  "engines": {
    "node": ">=10",
    "npm": ">=6"
  },
  "eslintConfig": {
    "extends": [
      "welly"
    ],
    "rules": {
      "emotion/jsx-import": "off"
    }
  },
  "eslintIgnore": [
    "public",
    "dist"
  ],
  "files": [
    "dist"
  ],
  "homepage": "https://react-cool-onclickoutside.netlify.com",
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged",
      "pre-push": "yarn test"
    }
  },
  "jest": {
    "preset": "ts-jest",
    "moduleNameMapper": {
      "\\.(apng|bmp|gif|ico|cur|jpg|jpeg|jfif|pjpeg|pjp|png|svg|tif|tiff|webp)$": "<rootDir>/__mocks__/file.ts"
    },
    "collectCoverageFrom": [
      "src/*.(ts|tsx)",
      "!src/*.d.ts"
    ]
  },
  "keywords": [
    "react",
    "react-hook",
    "hook",
    "onclickoutside-hook",
    "on-click-outside-hook",
    "use",
    "use-onclickoutside",
    "use-on-click-outside",
    "onclickoutside",
    "on-click-outside",
    "click",
    "outside",
    "click-outside",
    "multiple-refs",
    "passive-event-listeners",
    "exclude-scrollbar",
    "typescript"
  ],
  "license": "MIT",
  "lint-staged": {
    "*.{js,ts,tsx}": "eslint --fix",
    "*.{css,ts,tsx}": "stylelint --fix",
    "*.{json,md,yml}": "prettier --write"
  },
  "main": "dist/index.js",
  "module": "dist/index.esm.js",
  "name": "react-cool-onclickoutside",
  "peerDependencies": {
    "react": ">= 16.8.0"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/wellyshen/react-cool-onclickoutside.git"
  },
  "scripts": {
    "build": "run-s build:*",
    "build:demo": "yarn clean:dev && yarn clean:demo && rollup -c rollup/config.js --environment BUILD:demo",
    "build:dist": "yarn clean:dist && BABEL_ENV=dist rollup -c rollup/config.js --environment BUILD:dist",
    "clean": "run-p clean:*",
    "clean:cov": "rimraf coverage",
    "clean:demo": "rimraf public",
    "clean:dev": "rimraf demo/.dev",
    "clean:dist": "rimraf dist .size-snapshot.json",
    "coveralls": "cat ./coverage/lcov.info | coveralls",
    "dev": "yarn clean:dev && rollup -c rollup/config.js -w --environment BUILD:dev",
    "lint": "run-p lint:*",
    "lint:code": "eslint --fix . --ext .js,.ts,.tsx",
    "lint:style": "stylelint --fix \"**/*.{css,ts,tsx}\"",
    "postversion": "git push --follow-tags --no-verify && npm publish && yarn clean:dist",
    "preversion": "run-s type-check lint test build:dist",
    "test": "jest",
    "test:cov": "yarn clean:cov && yarn test --coverage",
    "test:watch": "yarn test --watch",
    "type-check": "tsc --noEmit",
    "type-check:watch": "yarn type-check --watch"
  },
  "stylelint": {
    "plugins": [
      "stylelint-prettier"
    ],
    "extends": [
      "stylelint-config-standard",
      "stylelint-config-prettier"
    ],
    "rules": {
      "prettier/prettier": true
    },
    "ignoreFiles": [
      "public/**/*.css",
      "coverage/**/*.css"
    ]
  },
  "types": "dist/index.d.ts",
  "version": "1.4.7"
}
