@react-hookz/web

v1.14.0
React hooks done right, for browser and SSR.
react hook react-hook browser ssr

build

yarn build:cleanup && yarn build:cjs && yarn build:esm && yarn build:esnext

build:cleanup

rimraf ./cjs ./esm ./esnext ./types

build:cjs

tsc -p ./tsconfig.build.json --module CommonJS --target ES5 --outDir ./cjs

build:esm

tsc -p ./tsconfig.build.json --module ES6 --target ES5 --outDir ./esm

build:esnext

tsc -p ./tsconfig.build.json --module ESNext --target ESNext --outDir ./esnext

test

jest

test:coverage

yarn test --coverage

lint

eslint ./ ./.storybook --ext ts,js,tsx,jsx,md,mdx

lint:fix

yarn lint --fix

storybook:watch

start-storybook -p 6006 --docs -s ./.storybook/public --no-manager-cache

storybook:build

build-storybook --docs -o ./storybook-build -s ./.storybook/public

storybook:deploy

storybook-to-ghpages -s storybook:build
npm i @react-hookz/[email protected]

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 5/3/2021

Downloads