@react-hook/debounce
v1.0.3 react react hook hook react hooks hooks debounce debounce hook react hook debounce
build
npm run build:cjs && npm run build:es
build:cjs
babel src -d dist/cjs -x .js --ignore "**/*.test.js","**/test.js" --delete-dir-on-start
build:es
cross-env BABEL_ENV=es babel src -d dist/es -x .js --ignore "**/*.test.js","**/test.js" --delete-dir-on-start
format
npm run format:cjs && npm run format:es && npm run format:src
format:cjs
prettier --write "dist/cjs/**/*.js"
format:es
prettier --write "dist/es/**/*.js"
format:src
prettier --write "src/**/*.js"
lint
eslint src
prepublishOnly
npm run lint && npm run test && npm run build && npm run format
test
jest
validate
npm run lint && npm run test -- --coverage
npm i @react-hook/[email protected]
Metadata
- MIT
- Whatever
- Jared Lunde
- released 8/23/2019