@react-hook/debounce

v0.1.0
[description]

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]

Metadata

  • MIT
  • Whatever
  • Jared Lunde
  • released 3/24/2019

Downloads

Maintainers