UNPKG

use-state-debounced

Version:

useStateDebounced - React debounced state hook

63 lines (62 loc) 1.61 kB
{ "name": "use-state-debounced", "author": "Michael Gustus", "version": "1.4.0", "description": "useStateDebounced - React debounced state hook", "keywords": [ "debounce", "react-hook", "react" ], "repository": { "type": "git", "url": "https://github.com/mgustus/use-state-debounced.git" }, "license": "MIT", "files": [ "dist" ], "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" }, "sideEffects": false, "scripts": { "build": "tsup", "test": "vitest", "prepublishOnly": "yarn build", "release": "standard-version", "prepare": "husky" }, "peerDependencies": { "react": ">=16.8.0" }, "devDependencies": { "@testing-library/dom": "^10.4.1", "@testing-library/react": "^16.3.2", "@types/react": "^19.2.9", "@types/react-dom": "^19.2.3", "@typescript-eslint/eslint-plugin": "^5.17.0", "@typescript-eslint/parser": "^5.17.0", "@vitejs/plugin-react": "^5.1.2", "eslint": "^8.18.0", "eslint-config-airbnb": "^19.0.4", "eslint-import-resolver-typescript": "^3.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jsx-a11y": "^6.6.0", "eslint-plugin-react": "^7.30.1", "eslint-plugin-react-hooks": "^4.6.0", "husky": "^9.1.7", "jsdom": "^27.4.0", "react": "^19.2.3", "react-dom": "^19.2.3", "standard-version": "^9.5.0", "tsup": "^8.5.1", "typescript": "^5.9.3", "vitest": "^4.0.18" } }