@react-hook/debounce
v2.0.5 react react hook debounce debounce hook react debounce debounce state throttle react state react debounce hook use debounce and 2 more...
build
npm run build-main && npm run build-module && npm run build-types
build-main
npm run compile -- -d dist/main --env-name main
build-module
npm run compile -- -d dist/module --env-name module
build-types
tsc -p tsconfig.json -d --outDir types --emitDeclarationOnly
check-types
tsc --noEmit -p tsconfig.json
compile
babel src -x .ts,.tsx --ignore "**/*.test.ts","**/test.ts","**/*.test.tsx","**/test.tsx" --delete-dir-on-start
format
prettier --write "**/*.{ts,tsx,js,jsx,md,yml,json,eslintrc,prettierrc}"
lint
eslint . --ext .ts,.tsx
prepublishOnly
npm run lint && npm run test && npm run build && npm run format
test
jest
validate
npm run check-types && npm run lint && npm run test -- --coverage
npm i @react-hook/[email protected]
Metadata
- MIT
- Whatever
- Unknown
- released 5/25/2020