react-fetch-hook
v1.5.1 react hooks fetch
flow
flow
flow:check
flow check
typescript
tsc -p tsconfig.json --noEmit
copy:ts
cp ./src/index.d.ts ./dist/index.d.ts
test
jest --silent
prettier
prettier "*/**/*.js" --ignore-path ./.prettierignore --write && git add . && git status
build
npm run build:clean && npm run build:lib && npm run build:flow && npm run copy:ts
build:clean
rimraf dist
build:lib
cross-env BABEL_ENV=production babel src --out-dir dist --ignore '**/__tests__/**'
build:flow
gen-flow-files src --out-dir dist
size
size-limit
prepublish
npm run flow:check && npm run test && npm run build