react-use
v16.1.0lint
eslint {src,tests}/**/*.{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
build:cjs
tsc
storybook
start-storybook -p 6008
lint:types
tsc --noEmit
test:watch
jest --watch
lint:prettier
prettier --write src/**/**/*.{ts,tsx}
test:coverage
jest --coverage
storybook:build
build-storybook
storybook:clean
rimraf storybook-static
storybook:upload
gh-pages -d storybook-static --git "$(which git)"
npm i [email protected]
Metadata
- Unlicense
- Whatever
- @streamich
- released 1/31/2021