@react-hook/switch
v1.3.2 react react hook react hooks hooks switch toggle toggle hook switch hook react switch hook and 2 more...
build
lundle build --umd-case camel
check-types
lundle check-types
dev
lundle build -f module,cjs -w
format
prettier --write "{,!(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 1/19/2021