UNPKG

react-debounced

Version:
70 lines (69 loc) 2.25 kB
{ "name": "react-debounced", "version": "1.1.3", "description": "Universal debounce hook for react", "main": "./dist/cjs/index.js", "module": "./dist/esm5/index.js", "es2015": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", "files": [ "dist", "src/**/*.ts", "tsconfig.json" ], "repository": "git@github.com:dlavrenuek/react-debounced.git", "author": "Dimitri Lavrenük <dimitri.lavr@gmail.com>", "license": "MIT", "keywords": [ "react", "typescript", "react-hooks", "debounce" ], "scripts": { "build": "yarn build:clean && yarn build:compile", "build:clean": "shx rm -rf dist", "build:compile": "tsc -b ./config/tsconfig.cjs.json ./config/tsconfig.esm.json ./config/tsconfig.esm5.json ./config/tsconfig.types.json", "format": "prettier --write \"src/**/*.{ts,tsx}\"", "lint": "eslint --ext ts --ext tsx src", "test": "jest --config ./config/jest.config.ts --maxWorkers=2", "test:watch": "yarn test --watch", "test:coverage": "yarn test --coverage --colors" }, "devDependencies": { "@babel/core": "7.26.0", "@babel/eslint-parser": "7.25.9", "@babel/preset-env": "7.26.0", "@babel/preset-typescript": "7.26.0", "@testing-library/dom": "10.4.0", "@testing-library/react": "16.1.0", "@testing-library/user-event": "14.5.2", "@types/jest": "29.5.14", "@types/react": "19.0.4", "@types/react-dom": "19.0.2", "@typescript-eslint/eslint-plugin": "7.18.0", "@typescript-eslint/parser": "7.18.0", "eslint": "8.57.1", "eslint-config-prettier": "9.1.0", "eslint-config-react-app": "7.0.1", "eslint-plugin-import": "2.31.0", "eslint-plugin-jsx-a11y": "6.10.2", "eslint-plugin-prettier": "5.2.1", "eslint-plugin-react": "7.37.3", "eslint-plugin-react-hooks": "5.1.0", "jest": "29.7.0", "jest-environment-jsdom": "^29.7.0", "prettier": "3.4.2", "react": "19.0.0", "react-dom": "19.0.0", "shx": "0.3.4", "ts-jest": "29.2.5", "ts-node": "10.9.2", "tslib": "2.8.1", "typescript": "5.7.3" }, "peerDependencies": { "react": "^16.8.3 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.3 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }