{
	"name": "react-click-away-listener",
	"version": "2.4.0",
	"description": "A simple click away listener built with React Hooks",
	"main": "dist/react-click-away-listener.js",
	"module": "dist/react-click-away-listener.es.js",
	"types": "dist/index.d.ts",
	"umd": "dist/react-click-away-listener.umd.js",
	"scripts": {
		"test": "jest",
		"lint": "eslint src/*",
		"coverage": "jest --coverage",
		"prepublish": "npm run build",
		"build:rollup": "rollup -c rollup.config.js",
		"build:declaration": "tsc",
		"semantic-release": "semantic-release",
		"cleanup": "rimraf dist",
		"build": "npm run cleanup && npm-run-all build:*",
		"prettier": "prettier --write '{src,__tests__}/*.tsx'",
		"print-file-size": "cat dist/react-click-away-listener.js | gzip | wc -c"
	},
	"files": [
		"dist",
		"README.md"
	],
	"author": "Ademola Adegbuyi <ooade96@gmail.com>",
	"license": "MIT",
	"repository": {
		"url": "https://github.com/ooade/react-click-away-listener"
	},
	"devDependencies": {
		"@babel/preset-env": "^7.16.11",
		"@babel/preset-react": "^7.16.7",
		"@babel/preset-typescript": "^7.16.7",
		"@rollup/plugin-babel": "^5.3.1",
		"@rollup/plugin-node-resolve": "^13.1.3",
		"@semantic-release/npm": "^12.0.1",
		"@testing-library/dom": "^10.4.0",
		"@testing-library/react": "^16.0.1",
		"@types/jest": "^29.5.12",
		"@types/react": "^18.3.12",
		"@typescript-eslint/parser": "^5.14.0",
		"coveralls": "^3.1.1",
		"cz-conventional-changelog": "^3.3.0",
		"eslint": "^8.10.0",
		"eslint-config-prettier": "^8.5.0",
		"eslint-plugin-import": "^2.25.4",
		"eslint-plugin-jsx-a11y": "^6.5.1",
		"eslint-plugin-prettier": "^4.0.0",
		"eslint-plugin-react": "^7.29.3",
		"eslint-plugin-react-hooks": "^4.3.0",
		"ghooks": "^2.0.4",
		"jest": "^29.7.0",
		"jest-environment-jsdom": "^29.7.0",
		"npm-run-all": "^4.1.5",
		"prettier": "^2.5.1",
		"react": "^18.3.1",
		"react-dom": "^18.3.1",
		"rimraf": "^3.0.2",
		"rollup": "^2.79.2",
		"rollup-plugin-terser": "^7.0.2",
		"typescript": "^5.5.4"
	},
	"peerDependencies": {
		"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
		"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
	},
	"jest": {
		"testEnvironment": "jsdom",
		"collectCoverageFrom": [
			"<rootDir>/src/**.tsx"
		]
	},
	"config": {
		"ghooks": {
			"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true",
			"pre-commit": "npm run prettier"
		},
		"commitizen": {
			"path": "./node_modules/cz-conventional-changelog"
		}
	},
	"release": {
		"branches": [
			"main",
			{
				"name": "beta",
				"prerelease": true
			}
		],
		"plugins": [
			"@semantic-release/commit-analyzer",
			"@semantic-release/release-notes-generator",
			"@semantic-release/npm"
		]
	}
}
