use-memo-one
v1.1.3 memoization react useMemo useCallback memoize-one
validate
yarn run lint && yarn run typecheck
test
jest
typecheck
flow check
prettier:check
yarn prettier --debug-check $npm_package_config_prettier_target
prettier:write
yarn prettier --write $npm_package_config_prettier_target
lint:eslint
eslint src test
lint
yarn lint:eslint && yarn prettier:check
build
yarn run build:clean && yarn run build:dist && yarn run build:flow
build:clean
rimraf dist
build:dist
rollup -c
build:flow
echo "// @flow
export * from '../src';" > dist/use-memo-one.cjs.js.flow
prepublish
yarn run build