@react-hook/debounce
v0.1.6 react react hook hook react hooks hooks debounce
build
yarn run build:es && yarn run build:cjs
build:es
rimraf dist/es && cross-env NODE_ENV=production BABEL_ENV=es babel src --out-dir dist/es && npm run prettier:es
build:cjs
rimraf dist/cjs && cross-env NODE_ENV=production BABEL_ENV=cjs babel src --out-dir dist/cjs && npm run prettier:cjs
watch:es
rimraf dist/es && cross-env NODE_ENV=production BABEL_ENV=es babel src -w --out-dir dist/es
prettier
prettier --single-quote --no-semi --no-bracket-spacing --trailing-comma es5 --write
prettier:es
yarn prettier "dist/es/**/*.js"
prettier:cjs
yarn prettier "dist/cjs/**/*.js"
prepublishOnly
yarn build
npm i @react-hook/[email protected]
Source Code
github.com/jaredLunde/react-...Metadata
- MIT
- Whatever
- Jared Lunde
- released 4/6/2019