react-use

v17.4.1
Collection of React Hooks

lint

eslint "{src,tests,stories}/**/*.{ts,tsx}"

test

jest --maxWorkers 2

build

yarn build:cjs && yarn build:es

clean

rimraf lib storybook-static esm

start

yarn storybook

release

semantic-release

build:es

tsc -m esNext --outDir esm

lint:fix

yarn lint --fix

test:ssr

jest --maxWorkers 2 --config ./jest.config.node.ts

build:cjs

tsc

storybook

start-storybook -p 6008

lint:types

tsc --noEmit

test:watch

jest --watch

test:coverage

jest --coverage

storybook:build

build-storybook

storybook:clean

rimraf storybook-static

storybook:upload

gh-pages -d storybook-static --git "$(which git)"

Metadata

Downloads

Maintainers