@react-hook/window-size
v3.0.0 react react hook hook react hooks hooks window size window size hook window width window width hook and 16 more...
build
lundle build
check-types
lundle check-types
dev
lundle build -f module,cjs -w
format
prettier --write "{,!(node_modules|dist|coverage|throttled)/**/}*.{ts,tsx,js,jsx,md,yml,json}" && prettier --write "throttled/{,!(node_modules|dist|coverage)/**/}*.{ts,tsx,js,jsx,md,yml,json}"
lint
eslint . --ext .ts,.tsx
prepublishOnly
npm run lint && npm run test && npm run build && npm run format
test
jest
validate
lundle check-types && npm run lint && jest --coverage
npm i @react-hook/[email protected]
Metadata
- MIT
- Whatever
- Jared Lunde
- released 6/6/2020