UNPKG

@qazuor/react-hooks

Version:

A comprehensive collection of production-ready React hooks for modern web applications. Features type-safe implementations, extensive testing, and zero dependencies. Includes hooks for state management, browser APIs, user interactions, and development uti

83 lines 2.38 kB
{ "name": "@qazuor/react-hooks", "version": "1.1.1", "description": "A comprehensive collection of production-ready React hooks for modern web applications. Features type-safe implementations, extensive testing, and zero dependencies. Includes hooks for state management, browser APIs, user interactions, and development utilities.", "main": "dist/index.cjs.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "keywords": [ "react", "hooks", "typescript", "useBoolean", "useClickOutside", "useCopyToClipboard", "useDebounce", "useHandledInterval", "useIdleness", "useInterval", "useLocalStorage", "useLockBodyScroll", "useLogger", "useMeasure", "useMediaQuery", "useNetworkState", "usePageLeave", "useQueue", "useSessionStorage", "useTimeout", "useToggle", "useVisibilityChange", "useWindowWidth", "state-management", "browser-api", "user-interaction", "development-tools" ], "private": false, "author": "Qazuor <qazuor@gmail.com> (https://github.com/qazuor/)", "license": "MIT", "type": "module", "homepage": "https://github.com/qazuor/react-hooks#readme", "bugs": { "url": "https://github.com/qazuor/react-hooks/issues", "email": "leandro@qazuor.com" }, "dependencies": { "react": "18.2.0", "react-dom": "18.2.0" }, "repository": { "type": "git", "url": "git+https://github.com/qazuor/react-hooks.git" }, "publishConfig": { "access": "public" }, "devDependencies": { "@biomejs/biome": "1.9.4", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^14.3.1", "@types/jest": "^29.5.14", "@types/node": "^22.14.1", "@types/react": "^19.0.10", "@types/react-dom": "^19.0.4", "husky": "^9.1.7", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "lint-staged": "^15.4.3", "ts-jest": "^29.2.6", "ts-node": "^10.9.2", "tsup": "^6.2.3", "typescript": "^5.8.2" }, "scripts": { "build": "tsup src/index.tsx --format cjs,esm --dts", "tests": "jest --coverage", "format": "biome format --write .", "lint": "biome check .", "lint:ci": "biome ci .", "lint:fix": "biome check --write --unsafe .", "lint-staged": "biome check . --write --no-errors-on-unmatched --files-ignore-unknown=true" } }