react-clickout-ts
Version:
A simple clickout handler for React
69 lines (68 loc) • 2.01 kB
JSON
{
"name": "react-clickout-ts",
"description": "A simple clickout handler for React",
"version": "2025.7.5",
"author": {
"email": "simonegauli@gmail.com",
"name": "Simone Gauli"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Pnlvfx/react-clickout-ts.git"
},
"license": "MIT",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"scripts": {
"tsc": "tsc --noEmit true",
"test": "rimraf coverage && jest --coverage",
"lint": "eslint",
"build": "rimraf dist && eslint && tsc -p tsconfig.build.json",
"prepack": "yarn build",
"prepublishOnly": "yarn test && yarn lint",
"update": "node tools/update.ts && yarn upgrade-interactive"
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"devDependencies": {
"@eslint/js": "^9.30.1",
"@goatjs/rimraf": "github:Pnlvfx/goatjs#workspace=@goatjs/rimraf",
"@goatjs/updater": "github:Pnlvfx/goatjs#workspace=@goatjs/updater",
"@types/node": "^24.0.10",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"eslint": "^9.30.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "6.1.0-canary-5d87cd22-20250704",
"eslint-plugin-sonarjs": "^3.0.4",
"eslint-plugin-unicorn": "^59.0.1",
"globals": "^16.3.0",
"jest": "^29.7.0",
"prettier": "^3.6.2",
"react": "19.2.0-canary-5d87cd22-20250704",
"react-dom": "19.2.0-canary-5d87cd22-20250704",
"ts-jest": "^29.4.0",
"ts-node": "^10.9.2",
"typescript": "^5.8.3",
"typescript-eslint": "^8.35.1"
},
"peerDependencies": {
"react": "*",
"react-dom": "*"
},
"keywords": [
"click outside",
"click out",
"clickout",
"react",
"typescript"
],
"packageManager": "yarn@4.9.2+sha512.1fc009bc09d13cfd0e19efa44cbfc2b9cf6ca61482725eb35bbc5e257e093ebf4130db6dfe15d604ff4b79efd8e1e8e99b25fa7d0a6197c9f9826358d4d65c3c"
}