UNPKG

use-lodash-debounce-throttle

Version:

Bring debounce & throttle of lodash version to react-hooks

65 lines (64 loc) 1.9 kB
{ "name": "use-lodash-debounce-throttle", "version": "0.3.5", "description": "Bring debounce & throttle of lodash version to react-hooks", "main": "lib/index.js", "browser": "es/index.js", "types": "types/index.d.ts", "scripts": { "test": "jest --coverage", "start": "docz dev", "build-doc": "docz build", "pub-doc": "npm run build-doc && gh-pages -d .docz/dist", "build": "npm run build:types && npm run build:cjs && npm run build:es", "build:cjs": "rimraf ./lib && cross-env MODULES=cjs babel src --out-dir lib --extensions .ts", "build:es": "rimraf ./es && babel src --out-dir es --extensions .ts", "build:types": "rimraf ./types && tsc --emitDeclarationOnly", "prepublishOnly": "npm run build" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/Frezc/use-lodash-debounce-throttle.git" }, "keywords": [ "react", "react-hooks", "lodash", "debounce", "throttle", "hook" ], "author": "Frezc", "license": "MIT", "bugs": { "url": "https://github.com/Frezc/use-lodash-debounce-throttle/issues" }, "homepage": "https://github.com/Frezc/use-lodash-debounce-throttle#readme", "devDependencies": { "@babel/cli": "^7.2.3", "@babel/core": "^7.3.3", "@babel/plugin-transform-runtime": "^7.3.4", "@babel/preset-env": "^7.3.1", "@babel/preset-typescript": "^7.3.3", "@types/lodash-es": "^4.17.3", "@types/react": "^16.8.3", "cross-env": "^5.2.0", "docz": "^1.2.0", "docz-theme-default": "^1.2.0", "gh-pages": "^2.0.1", "husky": "^1.3.1", "jest": "^24.5.0", "react": "^16.8.2", "rimraf": "^2.6.3", "ts-jest": "^24.0.0", "typescript": "^3.3.3" }, "dependencies": { "@babel/runtime": "^7.3.4", "lodash-es": "^4.17.14" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" } }